File size: 1,046 Bytes
ceeed49 0d4905c ceeed49 0d4905c ceeed49 0d4905c ceeed49 0d4905c ceeed49 0d4905c ceeed49 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
---
library_name: mlx-audio-plus
base_model:
- ResembleAI/chatterbox
tags:
- mlx
pipeline_tag: text-to-speech
---
# mlx-community/Chatterbox-TTS-8bit
This model was converted to MLX format from [ResembleAI/chatterbox](https://huggingface.co/ResembleAI/chatterbox) using [mlx-audio-plus](https://github.com/DePasqualeOrg/mlx-audio-plus) version **0.1.0**.
**Note:** This model requires the S3Tokenizer weights from [mlx-community/S3TokenizerV2](https://huggingface.co/mlx-community/S3TokenizerV2), which will be downloaded automatically.
## Use with mlx-audio-plus
```bash
pip install -U mlx-audio-plus
```
### Command line
```bash
mlx_audio.tts --model mlx-community/Chatterbox-TTS-8bit --text "Hello, this is Chatterbox on MLX!" --ref_audio reference.wav --ref_text "."
```
### Python
```python
from mlx_audio.tts.generate import generate_audio
generate_audio(
text="Hello, this is Chatterbox on MLX!",
model="mlx-community/Chatterbox-TTS-8bit",
ref_audio="reference.wav",
ref_text=".",
file_prefix="output",
)
```
|