julian78w commited on
Commit
57bdc7e
1 Parent(s): 7431872

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(f"tts_models/{model_name}")
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