models : handle paths with spaces in download script (close #1038)

This commit is contained in:
Georgi Gerganov 2023-06-25 15:22:49 +03:00
parent 14baf2e7f3
commit 8ac23c9f77
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -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"