From 53f831b3d7f793d6194b865b82a4bd21906d74a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=BE=E8=81=AA?= Date: Tue, 9 Jan 2024 09:49:39 +0800 Subject: [PATCH] update run_server_2pass.sh --- runtime/run_server_2pass.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/run_server_2pass.sh b/runtime/run_server_2pass.sh index 95a3bf7d7..2fc5f117b 100644 --- a/runtime/run_server_2pass.sh +++ b/runtime/run_server_2pass.sh @@ -5,6 +5,7 @@ online_model_dir="damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab840 vad_dir="damo/speech_fsmn_vad_zh-cn-16k-common-onnx" punc_dir="damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx" itn_dir="thuduj12/fst_itn_zh" +lm_dir="damo/speech_ngram_lm_zh-cn-ai-wesp-fst" port=10095 certfile="../../../ssl_key/server.crt" keyfile="../../../ssl_key/server.key" @@ -30,6 +31,7 @@ cd /workspace/FunASR/runtime/websocket/build/bin --vad-dir "${vad_dir}" \ --punc-dir "${punc_dir}" \ --itn-dir "${itn_dir}" \ + --lm-dir "${lm_dir}" \ --decoder-thread-num ${decoder_thread_num} \ --model-thread-num ${model_thread_num} \ --io-thread-num ${io_thread_num} \