diff --git a/.github/workflows/wasm-simd-hf-space-vad-asr.yaml b/.github/workflows/wasm-simd-hf-space-vad-asr.yaml index 726b6982..52a6f886 100644 --- a/.github/workflows/wasm-simd-hf-space-vad-asr.yaml +++ b/.github/workflows/wasm-simd-hf-space-vad-asr.yaml @@ -85,6 +85,9 @@ jobs: file_glob: true overwrite: true file: ./*.tar.bz2 + # repo_name: k2-fsa/sherpa-onnx + # repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }} + # tag: v1.10.23 - name: Upload wasm files uses: actions/upload-artifact@v4 diff --git a/scripts/wasm/run-vad-asr.sh.in b/scripts/wasm/run-vad-asr.sh.in index 8d5e1d20..cc269d51 100644 --- a/scripts/wasm/run-vad-asr.sh.in +++ b/scripts/wasm/run-vad-asr.sh.in @@ -64,8 +64,8 @@ git lfs track "*.wasm" ls -lh git add . -git commit -m "update model" -git push https://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/$ms_name.git +git commit -m "update model" || true +git push https://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/$ms_name.git || true cd .. rm -rf ms @@ -81,8 +81,8 @@ git lfs track "*.wasm" ls -lh git add . -git commit -m "update model" -git push https://csukuangfj:$HF_TOKEN@huggingface.co/spaces/$hf_name main +git commit -m "update model" || true +git push https://csukuangfj:$HF_TOKEN@huggingface.co/spaces/$hf_name main || true cd .. rm -rf huggingface rm -rf $dst