Update README.md
Browse files
README.md
CHANGED
|
@@ -26,13 +26,13 @@ pip install -U mlx-audio
|
|
| 26 |
|
| 27 |
### CLI Example:
|
| 28 |
```bash
|
| 29 |
-
python -m mlx_audio.stt.generate --model mlx-community/GLM-ASR-Nano-2512-
|
| 30 |
```
|
| 31 |
### Python Example:
|
| 32 |
```python
|
| 33 |
from mlx_audio.stt.utils import load_model
|
| 34 |
from mlx_audio.stt.generate import generate_transcription
|
| 35 |
-
model = load_model("mlx-community/GLM-ASR-Nano-2512-
|
| 36 |
transcription = generate_transcription(
|
| 37 |
model=model,
|
| 38 |
audio_path="path_to_audio.wav",
|
|
|
|
| 26 |
|
| 27 |
### CLI Example:
|
| 28 |
```bash
|
| 29 |
+
python -m mlx_audio.stt.generate --model mlx-community/GLM-ASR-Nano-2512-5bit--audio "audio.wav"
|
| 30 |
```
|
| 31 |
### Python Example:
|
| 32 |
```python
|
| 33 |
from mlx_audio.stt.utils import load_model
|
| 34 |
from mlx_audio.stt.generate import generate_transcription
|
| 35 |
+
model = load_model("mlx-community/GLM-ASR-Nano-2512-5bit")
|
| 36 |
transcription = generate_transcription(
|
| 37 |
model=model,
|
| 38 |
audio_path="path_to_audio.wav",
|