mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update run_server_2pass.sh
This commit is contained in:
parent
709c90d218
commit
53f831b3d7
@ -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"
|
vad_dir="damo/speech_fsmn_vad_zh-cn-16k-common-onnx"
|
||||||
punc_dir="damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx"
|
punc_dir="damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx"
|
||||||
itn_dir="thuduj12/fst_itn_zh"
|
itn_dir="thuduj12/fst_itn_zh"
|
||||||
|
lm_dir="damo/speech_ngram_lm_zh-cn-ai-wesp-fst"
|
||||||
port=10095
|
port=10095
|
||||||
certfile="../../../ssl_key/server.crt"
|
certfile="../../../ssl_key/server.crt"
|
||||||
keyfile="../../../ssl_key/server.key"
|
keyfile="../../../ssl_key/server.key"
|
||||||
@ -30,6 +31,7 @@ cd /workspace/FunASR/runtime/websocket/build/bin
|
|||||||
--vad-dir "${vad_dir}" \
|
--vad-dir "${vad_dir}" \
|
||||||
--punc-dir "${punc_dir}" \
|
--punc-dir "${punc_dir}" \
|
||||||
--itn-dir "${itn_dir}" \
|
--itn-dir "${itn_dir}" \
|
||||||
|
--lm-dir "${lm_dir}" \
|
||||||
--decoder-thread-num ${decoder_thread_num} \
|
--decoder-thread-num ${decoder_thread_num} \
|
||||||
--model-thread-num ${model_thread_num} \
|
--model-thread-num ${model_thread_num} \
|
||||||
--io-thread-num ${io_thread_num} \
|
--io-thread-num ${io_thread_num} \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user