wget 续传 (#801)
This commit is contained in:
@@ -34,7 +34,7 @@ log "https://github.com/snakers4/silero-vad/raw/master/files/silero_vad.onnx"
|
||||
|
||||
# Download the model
|
||||
pushd ./android/SherpaOnnxVad/app/src/main/assets/
|
||||
wget https://github.com/snakers4/silero-vad/raw/master/files/silero_vad.onnx
|
||||
wget -c https://github.com/snakers4/silero-vad/raw/master/files/silero_vad.onnx
|
||||
popd
|
||||
|
||||
for arch in arm64-v8a armeabi-v7a x86_64 x86; do
|
||||
|
||||
@@ -11,7 +11,7 @@ onnxruntime_dir=ios-onnxruntime/$onnxruntime_version
|
||||
if [ ! -f $onnxruntime_dir/onnxruntime.xcframework/ios-arm64/onnxruntime.a ]; then
|
||||
mkdir -p $onnxruntime_dir
|
||||
pushd $onnxruntime_dir
|
||||
wget https://github.com/csukuangfj/onnxruntime-libs/releases/download/v${onnxruntime_version}/onnxruntime.xcframework-${onnxruntime_version}.tar.bz2
|
||||
wget -c https://github.com/csukuangfj/onnxruntime-libs/releases/download/v${onnxruntime_version}/onnxruntime.xcframework-${onnxruntime_version}.tar.bz2
|
||||
tar xvf onnxruntime.xcframework-${onnxruntime_version}.tar.bz2
|
||||
rm onnxruntime.xcframework-${onnxruntime_version}.tar.bz2
|
||||
cd ..
|
||||
|
||||
@@ -38,7 +38,7 @@ if [ ! -d ./android/SherpaOnnxKws/app/src/main/assets/$repo ]; then
|
||||
log "Start testing ${repo_url}"
|
||||
|
||||
log "Download pretrained model and test-data from $repo_url"
|
||||
wget -qq $repo_url
|
||||
wget -c -qq $repo_url
|
||||
tar jxvf ${repo}.tar.bz
|
||||
|
||||
pushd $repo
|
||||
|
||||
Reference in New Issue
Block a user