Hugo commited on
Commit
3d92452
·
unverified ·
1 Parent(s): 5fb8fce

readme : fix references to download-ggml-model.sh (#2427)

Browse files

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.

Files changed (1) hide show
  1. README.md +2 -2
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
- bash ./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,7 +146,7 @@ options:
146
  -ng, --no-gpu [false ] disable GPU
147
 
148
 
149
- bash ./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'
 
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'