Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mlx-community
/
IndexTTS

Text-to-Speech
IndexTTS
Safetensors
MLX
indextts
Model card Files Files and versions
xet
Community

Instructions to use mlx-community/IndexTTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • IndexTTS

    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)
  • MLX

    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
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
IndexTTS
954 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
senstella's picture
senstella
Upload 2 files
f45b5bf verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    537 Bytes
    Upload folder using huggingface_hub 11 months ago
  • config.json
    4.2 kB
    Update config.json 11 months ago
  • model.safetensors
    954 MB
    xet
    Upload 2 files 11 months ago
  • model.safetensors.index.json
    111 kB
    Upload 2 files 11 months ago
  • tokenizer.model
    476 kB
    xet
    Upload tokenizer.model 11 months ago