Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def tts(text: str, model_name: str, speaker_idx: str=None):
|
|
34 |
print(f"Input text was cutoff since it went over the {MAX_TXT_LEN} character limit.")
|
35 |
print(text, model_name)
|
36 |
# download model
|
37 |
-
model_path, config_path, model_item = manager.download_model(
|
38 |
vocoder_name: Optional[str] = model_item["default_vocoder"]
|
39 |
# download vocoder
|
40 |
vocoder_path = None
|
|
|
34 |
print(f"Input text was cutoff since it went over the {MAX_TXT_LEN} character limit.")
|
35 |
print(text, model_name)
|
36 |
# download model
|
37 |
+
model_path, config_path, model_item = manager.download_model(model_name)
|
38 |
vocoder_name: Optional[str] = model_item["default_vocoder"]
|
39 |
# download vocoder
|
40 |
vocoder_path = None
|