diff --git a/build-apk-vad.sh b/build-apk-vad.sh index bca84d983..aa45f5724 100755 --- a/build-apk-vad.sh +++ b/build-apk-vad.sh @@ -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 diff --git a/build-ios-no-tts.sh b/build-ios-no-tts.sh index f9cd626ed..9bbe5b26a 100755 --- a/build-ios-no-tts.sh +++ b/build-ios-no-tts.sh @@ -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 .. diff --git a/build-kws-apk.sh b/build-kws-apk.sh index 58c8a62f6..8a59f6f61 100755 --- a/build-kws-apk.sh +++ b/build-kws-apk.sh @@ -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