Update README.md
Browse files
README.md
CHANGED
|
@@ -58,7 +58,7 @@ import mlx_whisper
|
|
| 58 |
|
| 59 |
result = mlx_whisper.transcribe(
|
| 60 |
SPEECH_FILE_NAME,
|
| 61 |
-
path_or_hf_repo="
|
| 62 |
fp16=True
|
| 63 |
)
|
| 64 |
print(result['text'])
|
|
@@ -67,5 +67,5 @@ Then execute this script `example.py` to see the result.
|
|
| 67 |
|
| 68 |
You can also use command line in terminal
|
| 69 |
```bash
|
| 70 |
-
mlx_whisper --model
|
| 71 |
```
|
|
|
|
| 58 |
|
| 59 |
result = mlx_whisper.transcribe(
|
| 60 |
SPEECH_FILE_NAME,
|
| 61 |
+
path_or_hf_repo="mlx-community/whisper-tiny-khmer-mlx-fp16",
|
| 62 |
fp16=True
|
| 63 |
)
|
| 64 |
print(result['text'])
|
|
|
|
| 67 |
|
| 68 |
You can also use command line in terminal
|
| 69 |
```bash
|
| 70 |
+
mlx_whisper --model mlx-community/whisper-tiny-khmer-mlx-fp16 --task transcribe SPEECH_FILE_NAME --fp16 True
|
| 71 |
```
|