Fix releasing wasm app for vad+asr (#1300)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user