Skip to content

Commit

Permalink
readme : fix references to download-ggml-model.sh (#2427)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
WhyNotHugo authored Sep 24, 2024
1 parent 451e9ee commit 0d2e2ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ git clone https://github.com/ggerganov/whisper.cpp.git
Then, download one of the Whisper [models](models/README.md) converted in [`ggml` format](#ggml-format). For example:

```bash
bash ./models/download-ggml-model.sh base.en
sh ./models/download-ggml-model.sh base.en
```

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

0 comments on commit 0d2e2ae

Please sign in to comment.