Dody Suria Wijaya commited on
Commit
23d667f
·
1 Parent(s): 7cf1c53

Update download-ggml-model.sh

Browse files

follow curl redirect to new hosting site

Files changed (1) hide show
  1. models/download-ggml-model.sh +1 -1
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