Instructions to use IndexTeam/Index-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- IndexTTS
How to use IndexTeam/Index-TTS with IndexTTS:
# Download model from huggingface_hub import snapshot_download snapshot_download(IndexTeam/Index-TTS, local_dir="checkpoints") from indextts.infer import IndexTTS # Ensure config.yaml is present in the checkpoints directory tts = IndexTTS(model_dir="checkpoints", cfg_path="checkpoints/config.yaml") voice = "path/to/your/reference_voice.wav" # Path to the voice reference audio file text = "Hello, how are you?" output_path = "output_index.wav" tts.infer(voice, text, output_path)
- Notebooks
- Google Colab
- Kaggle
Update config.yaml
Browse files- config.yaml +1 -1
config.yaml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
dataset:
|
| 2 |
-
bpe_model: bpe.model
|
| 3 |
sample_rate: 24000
|
| 4 |
squeeze: false
|
| 5 |
mel:
|
|
|
|
| 1 |
dataset:
|
| 2 |
+
bpe_model: checkpoints/bpe.model
|
| 3 |
sample_rate: 24000
|
| 4 |
squeeze: false
|
| 5 |
mel:
|