Instructions to use Nithu/text-to-speech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Fairseq
How to use Nithu/text-to-speech 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( "Nithu/text-to-speech" ) - Notebooks
- Google Colab
- Kaggle
File size: 306 Bytes
6489817 | 1 2 3 4 5 6 | #!/usr/bin/env python3
from fairseq.checkpoint_utils import load_model_ensemble_and_task
# model = load_model_ensemble_and_task(["./pytorch_model.pt"], arg_overrides={"config_yaml": "./config.yaml", "data": "./"})
model = load_model_ensemble_and_task(["./pytorch_model.pt"], arg_overrides={"data": "./"})
|