From: Dody Suria Wijaya Date: Wed, 16 Nov 2022 16:53:01 +0000 (+0700) Subject: Update download-ggml-model.sh X-Git-Tag: upstream/1.7.4~1831 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=55a0e1a64e945c924a578d6f932593d6d9833e87;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp Update download-ggml-model.sh follow curl redirect to new hosting site --- diff --git a/models/download-ggml-model.sh b/models/download-ggml-model.sh index 3eef87ec..e85e04ce 100755 --- a/models/download-ggml-model.sh +++ b/models/download-ggml-model.sh @@ -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