Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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 <
|
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(
|