Skip to content

Commit

Permalink
Add CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Aug 1, 2024
1 parent e01730c commit 4a2c94a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/scripts/test-offline-ctc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ for m in model.onnx model.int8.onnx; do
done
done


# test wav reader for non-standard wav files
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/naudio.wav
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/junk-padding.wav

time $EXE \
--tokens=$repo/tokens.txt \
--sense-voice-model=$repo/model.int8.onnx \
./naudio.wav \
./junk-padding.wav

rm -rf $repo

if true; then
Expand Down

0 comments on commit 4a2c94a

Please sign in to comment.