Fix README metadata
#3
by
solarpunkin
- opened
README.md
CHANGED
|
@@ -1,18 +1,17 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
library_name: mlx-audio
|
| 3 |
-
license: apache-2.0
|
| 4 |
pipeline_tag: text-to-speech
|
| 5 |
tags:
|
| 6 |
- mlx
|
| 7 |
- text-to-speech
|
| 8 |
- speech
|
| 9 |
-
- speech generation
|
| 10 |
-
- voice cloning
|
| 11 |
- tts
|
| 12 |
---
|
| 13 |
-
|
| 14 |
# mlx-community/Soprano-80M-bf16
|
| 15 |
-
|
|
|
|
|
|
|
| 16 |
Refer to the [original model card](https://huggingface.co/ekwek/Soprano-80M) for more details on the model.
|
| 17 |
|
| 18 |
## Use with mlx-audio
|
|
@@ -23,16 +22,20 @@ pip install -U mlx-audio
|
|
| 23 |
|
| 24 |
### CLI Example:
|
| 25 |
```bash
|
| 26 |
-
|
| 27 |
```
|
|
|
|
| 28 |
### Python Example:
|
| 29 |
-
```python
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
```
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: ekwek/Soprano-80M
|
| 3 |
library_name: mlx-audio
|
|
|
|
| 4 |
pipeline_tag: text-to-speech
|
| 5 |
tags:
|
| 6 |
- mlx
|
| 7 |
- text-to-speech
|
| 8 |
- speech
|
|
|
|
|
|
|
| 9 |
- tts
|
| 10 |
---
|
|
|
|
| 11 |
# mlx-community/Soprano-80M-bf16
|
| 12 |
+
|
| 13 |
+
This model was converted to MLX format from [`ekwek/Soprano-80M`](https://huggingface.co/ekwek/Soprano-80M) using mlx-audio version **0.3.1**.
|
| 14 |
+
|
| 15 |
Refer to the [original model card](https://huggingface.co/ekwek/Soprano-80M) for more details on the model.
|
| 16 |
|
| 17 |
## Use with mlx-audio
|
|
|
|
| 22 |
|
| 23 |
### CLI Example:
|
| 24 |
```bash
|
| 25 |
+
python -m mlx_audio.tts.generate --model mlx-community/Soprano-80M-bf16 --text "Hello, this is a test."
|
| 26 |
```
|
| 27 |
+
|
| 28 |
### Python Example:
|
| 29 |
+
```python
|
| 30 |
+
from mlx_audio.tts.utils import load_model
|
| 31 |
+
from mlx_audio.tts.generate import generate_audio
|
| 32 |
+
|
| 33 |
+
model = load_model("mlx-community/Soprano-80M-bf16")
|
| 34 |
+
generate_audio(
|
| 35 |
+
model=model,
|
| 36 |
+
text="Hello, this is a test.",
|
| 37 |
+
ref_audio="path_to_audio.wav",
|
| 38 |
+
file_prefix="test_audio",
|
| 39 |
+
)
|
| 40 |
|
| 41 |
```
|