mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-22 00:13:35 +00:00
models : handle paths with spaces in download script (close #1038)
This commit is contained in:
@ -54,7 +54,7 @@ fi
|
|||||||
|
|
||||||
printf "Downloading ggml model $model from '$src' ...\n"
|
printf "Downloading ggml model $model from '$src' ...\n"
|
||||||
|
|
||||||
cd $models_path
|
cd "$models_path"
|
||||||
|
|
||||||
if [ -f "ggml-$model.bin" ]; then
|
if [ -f "ggml-$model.bin" ]; then
|
||||||
printf "Model $model already exists. Skipping download.\n"
|
printf "Model $model already exists. Skipping download.\n"
|
||||||
|
Reference in New Issue
Block a user