Skip to content

Commit

Permalink
Add Android APK for streaming Paraformer ASR (#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Nov 14, 2024
1 parent 8436ba8 commit c34ab35
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/apk-asr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
total: ["3"]
index: ["0", "1", "2"]
total: ["6"]
index: ["0", "1", "2", "3", "4", "5"]

steps:
- uses: actions/checkout@v4
Expand Down
17 changes: 17 additions & 0 deletions scripts/apk/generate-asr-apk-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,23 @@ def get_models():
ls -lh
popd
""",
),
Model(
model_name="sherpa-onnx-streaming-paraformer-bilingual-zh-en",
idx=5,
lang="zh_en",
short_name="paraformer",
cmd="""
pushd $model_name
rm -fv decoder.onnx
rm -fv encoder.onnx
rm -rfv test_wavs
ls -lh
popd
""",
),
Expand Down

0 comments on commit c34ab35

Please sign in to comment.