Merge pull request #1794 from Jackwaterveg/r1.0

[Bug fix] fix test_cli
pull/1798/head
Hui Zhang 2 years ago committed by GitHub
commit 6e9ffa917a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,7 @@ paddlespeech asr --model deepspeech2offline_librispeech --lang en --input ./en.w
# long audio restriction
{
wget -c wget https://paddlespeech.bj.bcebos.com/datasets/single_wav/zh/test_long_audio_01.wav
wget -c https://paddlespeech.bj.bcebos.com/datasets/single_wav/zh/test_long_audio_01.wav
paddlespeech asr --input test_long_audio_01.wav
if [ $? -ne 255 ]; then
echo -e "\e[1;31mTime restriction not passed\e[0m"

Loading…
Cancel
Save