Spaces:
Runtime error
Runtime error
Update tts.py
Browse files
tts.py
CHANGED
@@ -5,6 +5,7 @@ models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
|
|
5 |
"facebook/fastspeech2-en-ljspeech",
|
6 |
arg_overrides={"vocoder": "hifigan", "fp16": False}
|
7 |
)
|
|
|
8 |
model = models[0]
|
9 |
TTSHubInterface.update_cfg_with_data_cfg(cfg, task.data_cfg)
|
10 |
generator = task.build_generator(model, cfg)
|
|
|
5 |
"facebook/fastspeech2-en-ljspeech",
|
6 |
arg_overrides={"vocoder": "hifigan", "fp16": False}
|
7 |
)
|
8 |
+
print(models)
|
9 |
model = models[0]
|
10 |
TTSHubInterface.update_cfg_with_data_cfg(cfg, task.data_cfg)
|
11 |
generator = task.build_generator(model, cfg)
|