Spaces:
Running
Running
Dody Suria Wijaya
commited on
Commit
·
23d667f
1
Parent(s):
7cf1c53
Update download-ggml-model.sh
Browse filesfollow curl redirect to new hosting site
models/download-ggml-model.sh
CHANGED
|
@@ -64,7 +64,7 @@ fi
|
|
| 64 |
if [ -x "$(command -v wget)" ]; then
|
| 65 |
wget --quiet --show-progress -O ggml-$model.bin $src/$pfx-$model.bin
|
| 66 |
elif [ -x "$(command -v curl)" ]; then
|
| 67 |
-
curl --output ggml-$model.bin $src/$pfx-$model.bin
|
| 68 |
else
|
| 69 |
printf "Either wget or curl is required to download models.\n"
|
| 70 |
exit 1
|
|
|
|
| 64 |
if [ -x "$(command -v wget)" ]; then
|
| 65 |
wget --quiet --show-progress -O ggml-$model.bin $src/$pfx-$model.bin
|
| 66 |
elif [ -x "$(command -v curl)" ]; then
|
| 67 |
+
curl -L --output ggml-$model.bin $src/$pfx-$model.bin
|
| 68 |
else
|
| 69 |
printf "Either wget or curl is required to download models.\n"
|
| 70 |
exit 1
|