Instructions to use facebook/tts_transformer-es-css10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Fairseq
How to use facebook/tts_transformer-es-css10 with Fairseq:
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub models, cfg, task = load_model_ensemble_and_task_from_hf_hub( "facebook/tts_transformer-es-css10" ) - Notebooks
- Google Colab
- Kaggle
Fix must be Tensor, not tuple Error
#3
by JacoboMata - opened
README.md
CHANGED
|
@@ -33,7 +33,7 @@ models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
|
|
| 33 |
)
|
| 34 |
model = models[0]
|
| 35 |
TTSHubInterface.update_cfg_with_data_cfg(cfg, task.data_cfg)
|
| 36 |
-
generator = task.build_generator(model, cfg)
|
| 37 |
|
| 38 |
text = "Hola, esta es una prueba."
|
| 39 |
|
|
|
|
| 33 |
)
|
| 34 |
model = models[0]
|
| 35 |
TTSHubInterface.update_cfg_with_data_cfg(cfg, task.data_cfg)
|
| 36 |
+
generator = task.build_generator([model], cfg)
|
| 37 |
|
| 38 |
text = "Hola, esta es una prueba."
|
| 39 |
|