Brad Murray commited on
Commit
0653499
·
unverified ·
1 Parent(s): 57c7a6b

models : add support for wget2 for fedora (#2387)

Browse files
Files changed (1) hide show
  1. models/download-ggml-model.sh +3 -1
models/download-ggml-model.sh CHANGED
@@ -101,7 +101,9 @@ if [ -f "ggml-$model.bin" ]; then
101
  exit 0
102
  fi
103
 
104
- if [ -x "$(command -v wget)" ]; then
 
 
105
  wget --no-config --quiet --show-progress -O ggml-"$model".bin $src/$pfx-"$model".bin
106
  elif [ -x "$(command -v curl)" ]; then
107
  curl -L --output ggml-"$model".bin $src/$pfx-"$model".bin
 
101
  exit 0
102
  fi
103
 
104
+ if [ -x "$(command -v wget2)" ]; then
105
+ wget2 --no-config --progress bar -O ggml-"$model".bin $src/$pfx-"$model".bin
106
+ elif [ -x "$(command -v wget)" ]; then
107
  wget --no-config --quiet --show-progress -O ggml-"$model".bin $src/$pfx-"$model".bin
108
  elif [ -x "$(command -v curl)" ]; then
109
  curl -L --output ggml-"$model".bin $src/$pfx-"$model".bin