mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-28 00:39:04 +01:00
models : add support for wget2 for fedora (#2387)
This commit is contained in:
parent
8bfa8574e2
commit
d2986f8b07
@ -101,7 +101,9 @@ if [ -f "ggml-$model.bin" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -x "$(command -v wget)" ]; then
|
||||
if [ -x "$(command -v wget2)" ]; then
|
||||
wget2 --no-config --progress bar -O ggml-"$model".bin $src/$pfx-"$model".bin
|
||||
elif [ -x "$(command -v wget)" ]; then
|
||||
wget --no-config --quiet --show-progress -O ggml-"$model".bin $src/$pfx-"$model".bin
|
||||
elif [ -x "$(command -v curl)" ]; then
|
||||
curl -L --output ggml-"$model".bin $src/$pfx-"$model".bin
|
||||
|
Loading…
Reference in New Issue
Block a user