Committed by
GitHub
Use curl to replace wget for Windows. (#558)
wget is not available on Windows in GitHub actions
正在显示
2 个修改的文件
包含
4 行增加
和
2 行删除
| 1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
| 2 | 2 | ||
| 3 | if [ ! -f ./vits-zh-aishell3/vits-aishell3.onnx ]; then | 3 | if [ ! -f ./vits-zh-aishell3/vits-aishell3.onnx ]; then |
| 4 | - wget -qq https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-zh-aishell3.tar.bz2 | 4 | + # wget -qq https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-zh-aishell3.tar.bz2 |
| 5 | + curl -OL https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-zh-aishell3.tar.bz2 | ||
| 5 | tar xf vits-zh-aishell3.tar.bz2 | 6 | tar xf vits-zh-aishell3.tar.bz2 |
| 6 | rm vits-zh-aishell3.tar.bz2 | 7 | rm vits-zh-aishell3.tar.bz2 |
| 7 | fi | 8 | fi |
| 1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
| 2 | 2 | ||
| 3 | if [ ! -f ./vits-piper-en_US-amy-low/en_US-amy-low.onnx ]; then | 3 | if [ ! -f ./vits-piper-en_US-amy-low/en_US-amy-low.onnx ]; then |
| 4 | - wget -qq https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-piper-en_US-amy-low.tar.bz2 | 4 | + # wget -qq https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-piper-en_US-amy-low.tar.bz2 |
| 5 | + curl -OL https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-piper-en_US-amy-low.tar.bz2 | ||
| 5 | tar xf vits-piper-en_US-amy-low.tar.bz2 | 6 | tar xf vits-piper-en_US-amy-low.tar.bz2 |
| 6 | rm vits-piper-en_US-amy-low.tar.bz2 | 7 | rm vits-piper-en_US-amy-low.tar.bz2 |
| 7 | fi | 8 | fi |
-
请 注册 或 登录 后发表评论