AkitoP commited on
Commit
5b1eac6
1 Parent(s): abfeb40

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ def create_tts_fn(vq_model, ssl_model, t2s_model, hps, config, hz, max_sec):
141
  t2 = ttime()
142
  idx = 0
143
  cnt = 0
144
- while idx == 0 and cnt < 10:
145
  with torch.no_grad():
146
  # pred_semantic = t2s_model.model.infer
147
  pred_semantic,idx = t2s_model.model.infer_panel(
 
141
  t2 = ttime()
142
  idx = 0
143
  cnt = 0
144
+ while idx == 0 and cnt < 2:
145
  with torch.no_grad():
146
  # pred_semantic = t2s_model.model.infer
147
  pred_semantic,idx = t2s_model.model.infer_panel(