Update download-ggml-model.sh

follow curl redirect to new hosting site
pull/147/head
Dody Suria Wijaya 3 years ago committed by GitHub
parent 864a78a8d0
commit f80a64bb1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -64,7 +64,7 @@ fi
if [ -x "$(command -v wget)" ]; then if [ -x "$(command -v wget)" ]; then
wget --quiet --show-progress -O ggml-$model.bin $src/$pfx-$model.bin wget --quiet --show-progress -O ggml-$model.bin $src/$pfx-$model.bin
elif [ -x "$(command -v curl)" ]; then elif [ -x "$(command -v curl)" ]; then
curl --output ggml-$model.bin $src/$pfx-$model.bin curl -L --output ggml-$model.bin $src/$pfx-$model.bin
else else
printf "Either wget or curl is required to download models.\n" printf "Either wget or curl is required to download models.\n"
exit 1 exit 1

Loading…
Cancel
Save