mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-18 02:39:47 +00:00
models : cd statements are quoted to allow spaces in path (#1041)
This commit is contained in:
parent
8ac23c9f77
commit
f11f33f1c0
@ -32,7 +32,7 @@ model="base.en"
|
||||
|
||||
# export the path to the whisper.cpp repo in the WHISPER_CPP_HOME env variable
|
||||
# https://github.com/ggerganov/whisper.cpp
|
||||
cd ${WHISPER_CPP_HOME}
|
||||
cd "${WHISPER_CPP_HOME}"
|
||||
|
||||
if [ ! -f ./stream ] ; then
|
||||
echo "whisper.nvim: the 'stream' executable was not found! WHISPER_CPP_HOME=${WHISPER_CPP_HOME}" > /tmp/whisper.nvim
|
||||
|
@ -33,7 +33,7 @@ goto :eof
|
||||
:download_model
|
||||
echo Downloading ggml model %model%...
|
||||
|
||||
cd %models_path%
|
||||
cd "%models_path%"
|
||||
|
||||
if exist "ggml-%model%.bin" (
|
||||
echo Model %model% already exists. Skipping download.
|
||||
|
Loading…
Reference in New Issue
Block a user