Skip to content

Commit 885e313

Browse files
authored
docs: Fix main -> whisper-cli in download scripts (#2707)
1 parent 8a9ad78 commit 885e313

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

models/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ models/ggml-base.en.bin 100%[==========================================
1717
Done! Model 'base.en' saved in 'models/ggml-base.en.bin'
1818
You can now use it like this:
1919
20-
$ ./main -m models/ggml-base.en.bin -f samples/jfk.wav
20+
$ ./build/bin/whisper-cli -m models/ggml-base.en.bin -f samples/jfk.wav
2121
```
2222

2323
### 2. Manually download pre-converted models

models/download-coreml-model.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ printf "Done! Model '%s' saved in 'models/ggml-%s.mlmodel'\n" "$model" "$model"
8181
printf "Run the following command to compile it:\n\n"
8282
printf " $ xcrun coremlc compile ./models/ggml-%s.mlmodel ./models\n\n" "$model"
8383
printf "You can now use it like this:\n\n"
84-
printf " $ ./main -m models/ggml-%s.bin -f samples/jfk.wav\n" "$model"
84+
printf " $ ./build/bin/whisper-cli -m models/ggml-%s.bin -f samples/jfk.wav\n" "$model"
8585
printf "\n"

models/download-ggml-model.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if %ERRORLEVEL% neq 0 (
5050

5151
echo Done! Model %model% saved in %root_path%\models\ggml-%model%.bin
5252
echo You can now use it like this:
53-
echo main.exe -m %root_path%\models\ggml-%model%.bin -f %root_path%\samples\jfk.wav
53+
echo build\bin\Release\whisper-cli.exe -m %root_path%\models\ggml-%model%.bin -f %root_path%\samples\jfk.wav
5454

5555
goto :eof
5656

models/download-ggml-model.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ fi
128128

129129
printf "Done! Model '%s' saved in '%s/ggml-%s.bin'\n" "$model" "$models_path" "$model"
130130
printf "You can now use it like this:\n\n"
131-
printf " $ ./main -m %s/ggml-%s.bin -f samples/jfk.wav\n" "$models_path" "$model"
131+
printf " $ ./build/bin/whisper-cli -m %s/ggml-%s.bin -f samples/jfk.wav\n" "$models_path" "$model"
132132
printf "\n"

0 commit comments

Comments
 (0)