Spaces:
Running
Running
Hugo
commited on
readme : fix references to download-ggml-model.sh (#2427)
Browse filesThe script itself has a hashbang indicating that it is a shell script,
but the README indicates that it must be executed with `bash`.
I checked the script itself, and it seems to be valid POSIX shell. I can
confirm that it works with busybox sh.
Clarify the reference on the README, so it is clear that bash is not
actually a dependency for this script.
README.md
CHANGED
|
@@ -75,7 +75,7 @@ git clone https://github.com/ggerganov/whisper.cpp.git
|
|
| 75 |
Then, download one of the Whisper [models](models/README.md) converted in [`ggml` format](#ggml-format). For example:
|
| 76 |
|
| 77 |
```bash
|
| 78 |
-
|
| 79 |
```
|
| 80 |
|
| 81 |
Now build the [main](examples/main) example and transcribe an audio file like this:
|
|
@@ -146,7 +146,7 @@ options:
|
|
| 146 |
-ng, --no-gpu [false ] disable GPU
|
| 147 |
|
| 148 |
|
| 149 |
-
|
| 150 |
Downloading ggml model base.en ...
|
| 151 |
ggml-base.en.bin 100%[========================>] 141.11M 6.34MB/s in 24s
|
| 152 |
Done! Model 'base.en' saved in 'models/ggml-base.en.bin'
|
|
|
|
| 75 |
Then, download one of the Whisper [models](models/README.md) converted in [`ggml` format](#ggml-format). For example:
|
| 76 |
|
| 77 |
```bash
|
| 78 |
+
sh ./models/download-ggml-model.sh base.en
|
| 79 |
```
|
| 80 |
|
| 81 |
Now build the [main](examples/main) example and transcribe an audio file like this:
|
|
|
|
| 146 |
-ng, --no-gpu [false ] disable GPU
|
| 147 |
|
| 148 |
|
| 149 |
+
sh ./models/download-ggml-model.sh base.en
|
| 150 |
Downloading ggml model base.en ...
|
| 151 |
ggml-base.en.bin 100%[========================>] 141.11M 6.34MB/s in 24s
|
| 152 |
Done! Model 'base.en' saved in 'models/ggml-base.en.bin'
|