|
@@ -6,6 +6,7 @@ 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"
|
|
|
decoder_thread_num=32
|
|
decoder_thread_num=32
|
|
|
|
|
+model_thread_num=1
|
|
|
io_thread_num=8
|
|
io_thread_num=8
|
|
|
port=10095
|
|
port=10095
|
|
|
certfile="../../../ssl_key/server.crt"
|
|
certfile="../../../ssl_key/server.crt"
|
|
@@ -24,6 +25,7 @@ if [ -z "$certfile" ] || [ "$certfile" -eq 0 ]; then
|
|
|
--punc-dir "${punc_dir}" \
|
|
--punc-dir "${punc_dir}" \
|
|
|
--itn-dir "${itn_dir}" \
|
|
--itn-dir "${itn_dir}" \
|
|
|
--decoder-thread-num ${decoder_thread_num} \
|
|
--decoder-thread-num ${decoder_thread_num} \
|
|
|
|
|
+ --model-thread-num ${model_thread_num} \
|
|
|
--io-thread-num ${io_thread_num} \
|
|
--io-thread-num ${io_thread_num} \
|
|
|
--port ${port} \
|
|
--port ${port} \
|
|
|
--certfile "" \
|
|
--certfile "" \
|
|
@@ -38,6 +40,7 @@ else
|
|
|
--punc-dir "${punc_dir}" \
|
|
--punc-dir "${punc_dir}" \
|
|
|
--itn-dir "${itn_dir}" \
|
|
--itn-dir "${itn_dir}" \
|
|
|
--decoder-thread-num ${decoder_thread_num} \
|
|
--decoder-thread-num ${decoder_thread_num} \
|
|
|
|
|
+ --model-thread-num ${model_thread_num} \
|
|
|
--io-thread-num ${io_thread_num} \
|
|
--io-thread-num ${io_thread_num} \
|
|
|
--port ${port} \
|
|
--port ${port} \
|
|
|
--certfile "${certfile}" \
|
|
--certfile "${certfile}" \
|