Skip to content

Commit

Permalink
upload to huggingface
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Apr 9, 2024
1 parent c48a67f commit 2599ad8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/audioset/AT/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ function test_pretrained() {
done

log "prepare data for uploading to huggingface"
dst=/icefall/onnx-model
dst=/icefall/model-onnx
mkdir -p $dst
cp -v $repo/*.onnx $dst/
cp -v $repo/exp/*.onnx $dst/
cp -v $repo/data/* $dst/
cp -a $repo/test_wavs $dst
cp -av $repo/test_wavs $dst

ls -lh $dst
ls -lh $dst/test_wavs
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/audioset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- audioset-ci

pull_request:
branches:
Expand Down Expand Up @@ -110,7 +111,7 @@ jobs:
git commit -m "update models"
git status
git push https://csukuangfj:[email protected]/sherpa-onnx-zipformer-audio-tagging-2024-04-09 main || true
git push https://csukuangfj:[email protected]/k2-fsa/sherpa-onnx-zipformer-audio-tagging-2024-04-09 main || true
rm -rf huggingface
- name: Prepare for release
Expand Down

0 comments on commit 2599ad8

Please sign in to comment.