Instructions to use textagent/chatterbox-multilingual-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use textagent/chatterbox-multilingual-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
Commit History
-
Add preprocessor_config.json for ChatterboxProcessor/AutoProcessor
Verified signaturea267c3c -
Fix config.json: correct text_config from chatterbox-ONNX reference (hidden_size=1024, num_layers=30, vocab_size=8194)
Verified signature4fefbba -
Add transformers.js_config.use_external_data_format for ONNX external data files
Verified signaturedbb64fa -
Add config.json for transformers.js v4 compatibility
Verified signature54ed997 -
Duplicate from onnx-community/chatterbox-multilingual-ONNX
Co-authored-by: Vladislav Bronzov <vladislavbro@users.noreply.huggingface.co>29e3b31