Skip to content

Commit

Permalink
added path prefix for whisper-cli in message to user. The message is …
Browse files Browse the repository at this point in the history
…misleading if this script is called from another script in a different folder. So the message has to be fixed.
  • Loading branch information
AMDphreak committed Jan 22, 2025
1 parent 68e73ab commit cc8bfc4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion models/download-ggml-model.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,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 build\bin\Release\whisper-cli.exe -m %root_path%\models\ggml-%model%.bin -f %root_path%\samples\jfk.wav
echo %~dp0build\bin\Release\whisper-cli.exe -m %root_path%\models\ggml-%model%.bin -f %root_path%\samples\jfk.wav

goto :eof

Expand Down
18 changes: 18 additions & 0 deletions whisper_build.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
MSBuild version 17.12.12+1cce77968 for .NET Framework

vulkan-shaders-gen.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\vulkan-shaders-gen.exe
stream.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\stream.exe
command.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\command.exe
ggml-base.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\ggml-base.dll
main.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\main.exe
bench.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\bench.exe
ggml-vulkan.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\ggml-vulkan.dll
ggml-cpu.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\ggml-cpu.dll
ggml.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\ggml.dll
Auto build dll exports
whisper.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\whisper.dll
whisper-bench.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\whisper-bench.exe
common.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\examples\Release\common.lib
quantize.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\quantize.exe
whisper-server.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\whisper-server.exe
whisper-cli.vcxproj -> S:\Google-Drive\Programming\Projects\voice-transcriber\offline-version\whisper.cpp\build\bin\Release\whisper-cli.exe

1 comment on commit cc8bfc4

@AMDphreak
Copy link
Author

@AMDphreak AMDphreak commented on cc8bfc4 Jan 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Notice how the current directory is offline-version, not whisper.cpp\models. Your script assumes the user is in an inner directory, so its message is out of context, and thereby incorrect.

Please sign in to comment.