diff --git a/examples/whisper.nvim/whisper.nvim b/examples/whisper.nvim/whisper.nvim index 8807fac0..203eddb5 100755 --- a/examples/whisper.nvim/whisper.nvim +++ b/examples/whisper.nvim/whisper.nvim @@ -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 diff --git a/models/download-ggml-model.cmd b/models/download-ggml-model.cmd index f4ce6339..8220ac59 100644 --- a/models/download-ggml-model.cmd +++ b/models/download-ggml-model.cmd @@ -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.