Skip to content

Commit 0d2e2ae

Browse files
authored
readme : fix references to download-ggml-model.sh (ggerganov#2427)
The 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.
1 parent 451e9ee commit 0d2e2ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ git clone https://github.com/ggerganov/whisper.cpp.git
7575
Then, download one of the Whisper [models](models/README.md) converted in [`ggml` format](#ggml-format). For example:
7676

7777
```bash
78-
bash ./models/download-ggml-model.sh base.en
78+
sh ./models/download-ggml-model.sh base.en
7979
```
8080

8181
Now build the [main](examples/main) example and transcribe an audio file like this:
@@ -146,7 +146,7 @@ options:
146146
-ng, --no-gpu [false ] disable GPU
147147
148148
149-
bash ./models/download-ggml-model.sh base.en
149+
sh ./models/download-ggml-model.sh base.en
150150
Downloading ggml model base.en ...
151151
ggml-base.en.bin 100%[========================>] 141.11M 6.34MB/s in 24s
152152
Done! Model 'base.en' saved in 'models/ggml-base.en.bin'

0 commit comments

Comments
 (0)