Fix releasing wasm app for vad+asr (#1300)
This commit is contained in:
@@ -85,6 +85,9 @@ jobs:
|
|||||||
file_glob: true
|
file_glob: true
|
||||||
overwrite: true
|
overwrite: true
|
||||||
file: ./*.tar.bz2
|
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
|
- name: Upload wasm files
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
@@ -64,8 +64,8 @@ git lfs track "*.wasm"
|
|||||||
ls -lh
|
ls -lh
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git commit -m "update model"
|
git commit -m "update model" || true
|
||||||
git push https://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/$ms_name.git
|
git push https://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/$ms_name.git || true
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf ms
|
rm -rf ms
|
||||||
|
|
||||||
@@ -81,8 +81,8 @@ git lfs track "*.wasm"
|
|||||||
ls -lh
|
ls -lh
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git commit -m "update model"
|
git commit -m "update model" || true
|
||||||
git push https://csukuangfj:$HF_TOKEN@huggingface.co/spaces/$hf_name main
|
git push https://csukuangfj:$HF_TOKEN@huggingface.co/spaces/$hf_name main || true
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf huggingface
|
rm -rf huggingface
|
||||||
rm -rf $dst
|
rm -rf $dst
|
||||||
|
|||||||
Reference in New Issue
Block a user