From 885e31368d395048a7f5d7e54ac91d91188d6fb3 Mon Sep 17 00:00:00 2001 From: Adam Jones Date: Mon, 6 Jan 2025 13:17:57 +0000 Subject: [PATCH] docs: Fix main -> whisper-cli in download scripts (#2707) --- models/README.md | 2 +- models/download-coreml-model.sh | 2 +- models/download-ggml-model.cmd | 2 +- models/download-ggml-model.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/models/README.md b/models/README.md index 3f5f4b51e28..8156370f025 100644 --- a/models/README.md +++ b/models/README.md @@ -17,7 +17,7 @@ models/ggml-base.en.bin 100%[========================================== Done! Model 'base.en' saved in 'models/ggml-base.en.bin' You can now use it like this: - $ ./main -m models/ggml-base.en.bin -f samples/jfk.wav + $ ./build/bin/whisper-cli -m models/ggml-base.en.bin -f samples/jfk.wav ``` ### 2. Manually download pre-converted models diff --git a/models/download-coreml-model.sh b/models/download-coreml-model.sh index dca26a2067b..3d80ee7d2ae 100755 --- a/models/download-coreml-model.sh +++ b/models/download-coreml-model.sh @@ -81,5 +81,5 @@ printf "Done! Model '%s' saved in 'models/ggml-%s.mlmodel'\n" "$model" "$model" printf "Run the following command to compile it:\n\n" printf " $ xcrun coremlc compile ./models/ggml-%s.mlmodel ./models\n\n" "$model" printf "You can now use it like this:\n\n" -printf " $ ./main -m models/ggml-%s.bin -f samples/jfk.wav\n" "$model" +printf " $ ./build/bin/whisper-cli -m models/ggml-%s.bin -f samples/jfk.wav\n" "$model" printf "\n" diff --git a/models/download-ggml-model.cmd b/models/download-ggml-model.cmd index 5d5b3b86267..f329011deb1 100644 --- a/models/download-ggml-model.cmd +++ b/models/download-ggml-model.cmd @@ -50,7 +50,7 @@ if %ERRORLEVEL% neq 0 ( echo Done! Model %model% saved in %root_path%\models\ggml-%model%.bin echo You can now use it like this: -echo main.exe -m %root_path%\models\ggml-%model%.bin -f %root_path%\samples\jfk.wav +echo build\bin\Release\whisper-cli.exe -m %root_path%\models\ggml-%model%.bin -f %root_path%\samples\jfk.wav goto :eof diff --git a/models/download-ggml-model.sh b/models/download-ggml-model.sh index 09690ecd497..a1aff210780 100755 --- a/models/download-ggml-model.sh +++ b/models/download-ggml-model.sh @@ -128,5 +128,5 @@ fi printf "Done! Model '%s' saved in '%s/ggml-%s.bin'\n" "$model" "$models_path" "$model" printf "You can now use it like this:\n\n" -printf " $ ./main -m %s/ggml-%s.bin -f samples/jfk.wav\n" "$models_path" "$model" +printf " $ ./build/bin/whisper-cli -m %s/ggml-%s.bin -f samples/jfk.wav\n" "$models_path" "$model" printf "\n"