Update download-ggml-model.sh

follow curl redirect to new hosting site
This commit is contained in:
Dody Suria Wijaya 2022-11-16 23:53:01 +07:00 committed by Georgi Gerganov
parent 864a78a8d0
commit 55a0e1a64e

View File

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