| # mlx-community/bark | |
| MLX format conversion of [suno/bark](https://huggingface.co/suno/bark). | |
| ## Original model | |
| Bark is a transformer-based text-to-speech model by [Suno](https://suno.ai). | |
| ## Use with mlx-audio | |
| ```python | |
| from mlx_audio.tts.utils import load_model | |
| model = load_model("mlx-community/bark") | |
| for result in model.generate("Hello, this is a test of the Bark TTS model."): | |
| print(result.audio.shape, result.sample_rate) | |
| ``` | |