]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
models : fix support for spaces in path (close #315)
authorGeorgi Gerganov <redacted>
Fri, 23 Dec 2022 09:11:38 +0000 (11:11 +0200)
committerGeorgi Gerganov <redacted>
Fri, 23 Dec 2022 09:11:38 +0000 (11:11 +0200)
models/download-ggml-model.sh

index cf5462301cfcaa40540187cd221d5a0e6ebe7cf7..7075080c97f8591adc074e82260c484d9436da4d 100755 (executable)
@@ -19,7 +19,7 @@ function get_script_path() {
     fi
 }
 
-models_path=$(get_script_path)
+models_path="$(get_script_path)"
 
 # Whisper models
 models=( "tiny.en" "tiny" "base.en" "base" "small.en" "small" "medium.en" "medium" "large-v1" "large" )