mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-19 20:57:52 +00:00
models : handle paths with spaces in download script (close #1038)
This commit is contained in:
parent
14baf2e7f3
commit
8ac23c9f77
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user