mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2025-09-15 13:28:35 +08:00
Compare commits
4 Commits
b6978be75e
...
b7277b8d40
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7277b8d40 | ||
|
|
edea8a9c3c | ||
|
|
bb0e1fc60f | ||
|
|
3972a8c6a5 |
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -241,7 +241,8 @@ jobs:
|
||||
- name: Dependencies
|
||||
run: |
|
||||
brew update
|
||||
brew install sdl2 cmake
|
||||
cmake --version
|
||||
brew install sdl2
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
||||
@ -119,12 +119,12 @@ fi
|
||||
|
||||
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
|
||||
elif [ -x "$(command -v wget)" ]; then
|
||||
wget --no-config --quiet --show-progress -O ggml-"$model".bin $src/$pfx-"$model".bin
|
||||
else
|
||||
printf "Either wget or curl is required to download models.\n"
|
||||
printf "Either wget2, curl, or wget is required to download models.\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user