Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Masterx
/
chatterbox-nano-ONNX

Text-to-Speech
Chatterbox
ONNX
English
onnxruntime
tts
voice-cloning
Model card Files Files and versions
xet
Community

Instructions to use Masterx/chatterbox-nano-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Chatterbox

    How to use Masterx/chatterbox-nano-ONNX with Chatterbox:

    # pip install chatterbox-tts
    import torchaudio as ta
    from chatterbox.tts import ChatterboxTTS
    
    model = ChatterboxTTS.from_pretrained(device="cuda")
    
    text = "Ezreal and Jinx teamed up with Ahri, Yasuo, and Teemo to take down the enemy's Nexus in an epic late-game pentakill."
    wav = model.generate(text)
    ta.save("test-1.wav", wav, model.sr)
    
    # If you want to synthesize with a different voice, specify the audio prompt
    AUDIO_PROMPT_PATH="YOUR_FILE.wav"
    wav = model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH)
    ta.save("test-2.wav", wav, model.sr)
  • Notebooks
  • Google Colab
  • Kaggle
chatterbox-nano-ONNX
727 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 22 commits
Masterx's picture
Masterx
Upload onnx/conditional_decoder_q4.onnx_data
dd54e27 verified 14 days ago
  • onnx
    Upload onnx/conditional_decoder_q4.onnx_data 14 days ago
  • .gitattributes
    2 kB
    Upload onnx/conditional_decoder_q4.onnx_data 14 days ago
  • LICENSE
    1.07 kB
    Upload LICENSE 14 days ago
  • NOTICE.md
    396 Bytes
    Upload NOTICE.md 14 days ago
  • README.md
    7.99 kB
    Upload README.md 14 days ago
  • config.json
    1.23 kB
    Upload config.json 14 days ago
  • default_voice.wav
    714 kB
    xet
    Upload default_voice.wav 14 days ago
  • generation_config.json
    55 Bytes
    Upload generation_config.json 14 days ago
  • preprocessor_config.json
    130 Bytes
    Upload preprocessor_config.json 14 days ago
  • tokenizer.json
    3.56 MB
    Upload tokenizer.json 14 days ago
  • tokenizer_config.json
    414 Bytes
    Upload tokenizer_config.json 14 days ago