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
ModuleNotFoundError: No module named 'indextts'
#8
by huaichao-pacvue - opened
Traceback (most recent call last): | 115M/697M [01:42<08:37, 1.12MB/s]
File "C:\Users\XXX\workspace\samples\tts-demo\main.py", line 6, in | 346M/697M [05:17<04:48, 1.22MB/s]
from indextts.infer import IndexTTSβββββββββββββββββββββββββββββββββββββββββββββββββββ| 697M/697M [08:35<00:00, 6.61MB/s]
ModuleNotFoundError: No module named 'indextts'