diff --git a/demos/audio_content_search/README_cn.md b/demos/audio_content_search/README_cn.md index 6f51c4cf2..04eb7847b 100644 --- a/demos/audio_content_search/README_cn.md +++ b/demos/audio_content_search/README_cn.md @@ -38,7 +38,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav 使用方法: ```bash - paddlespeech acs --help + paddlespeech asr --help ``` 参数: - `input`(必须输入):用于识别的音频文件。 diff --git a/demos/audio_content_search/conf/ws_conformer_application.yaml b/demos/audio_content_search/conf/ws_conformer_application.yaml index 97201382f..ad34ec9fd 100644 --- a/demos/audio_content_search/conf/ws_conformer_application.yaml +++ b/demos/audio_content_search/conf/ws_conformer_application.yaml @@ -26,8 +26,10 @@ asr_online: sample_rate: 16000 cfg_path: decode_method: 'attention_rescoring' + num_decoding_left_chunks: -1 # number of left chunks for decoding. Defaults to -1. force_yes: True device: 'cpu' # cpu or gpu:id + continuous_decoding: False # disable continue decoding when endpoint detected am_predictor_conf: device: # set 'gpu:id' or 'cpu' switch_ir_optim: True @@ -40,4 +42,4 @@ asr_online: window_ms: 25 # ms shift_ms: 10 # ms sample_rate: 16000 - sample_width: 2 + sample_width: 2 \ No newline at end of file diff --git a/demos/audio_content_search/conf/ws_conformer_wenetspeech_application.yaml b/demos/audio_content_search/conf/ws_conformer_wenetspeech_application.yaml index c23680bd5..ef1ce8d5c 100644 --- a/demos/audio_content_search/conf/ws_conformer_wenetspeech_application.yaml +++ b/demos/audio_content_search/conf/ws_conformer_wenetspeech_application.yaml @@ -31,6 +31,7 @@ asr_online: force_yes: True device: 'cpu' # cpu or gpu:id decode_method: "attention_rescoring" + num_decoding_left_chunks: -1 # number of left chunks for decoding. Defaults to -1. am_predictor_conf: device: # set 'gpu:id' or 'cpu' switch_ir_optim: True