mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-15 06:48:26 +02: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
|
exit 0
|
||||||
fi
|
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
|
wget --no-config --quiet --show-progress -O ggml-"$model".bin $src/$pfx-"$model".bin
|
||||||
elif [ -x "$(command -v curl)" ]; then
|
elif [ -x "$(command -v curl)" ]; then
|
||||||
curl -L --output ggml-"$model".bin $src/$pfx-"$model".bin
|
curl -L --output ggml-"$model".bin $src/$pfx-"$model".bin
|
||||||
|
Loading…
Reference in New Issue
Block a user