How to use mlx-community/IndexTTS with IndexTTS:
# Download model from huggingface_hub import snapshot_download snapshot_download(mlx-community/IndexTTS, 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)
How to use mlx-community/IndexTTS with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir IndexTTS mlx-community/IndexTTS
The community tab is the place to discuss and collaborate with the HF community!