From 8576d1c3714ef6ed856d8f177d3ca6f47acd995c Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Thu, 10 Mar 2022 19:17:48 +0800 Subject: [PATCH] update cli test case --- tests/unit/cli/test_cli.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/unit/cli/test_cli.sh b/tests/unit/cli/test_cli.sh index 748e5608..7dabe197 100755 --- a/tests/unit/cli/test_cli.sh +++ b/tests/unit/cli/test_cli.sh @@ -28,3 +28,15 @@ paddlespeech tts --am tacotron2_ljspeech --voc pwgan_ljspeech --lang en --input # Speech Translation (only support linux) paddlespeech st --input ./en.wav + + +# batch process +echo -e "1 欢迎光临。\n2 谢谢惠顾。" | paddlespeech tts + +# shell pipeline +paddlespeech asr --input ./zh.wav | paddlespeech text --task punc + +# stats +paddlespeech stats --task asr +paddlespeech stats --task tts +paddlespeech stats --task cls