models : fix support for spaces in path (close #315)

This commit is contained in:
Georgi Gerganov 2022-12-23 11:11:38 +02:00
parent 543bd5627e
commit 77226aa89d
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

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