]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
Update download-ggml-model.sh
authorDody Suria Wijaya <redacted>
Wed, 16 Nov 2022 16:53:01 +0000 (23:53 +0700)
committerGeorgi Gerganov <redacted>
Wed, 16 Nov 2022 16:59:44 +0000 (18:59 +0200)
follow curl redirect to new hosting site

models/download-ggml-model.sh

index 3eef87ecd28aa1552d45a341a2f77a088264fe06..e85e04cefa333f40df48f4a71611a0dc76029786 100755 (executable)
@@ -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