From 6d6c6e3c79216896c45ff87b4bdfd8226a24924e Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期二, 14 十一月 2023 19:22:17 +0800
Subject: [PATCH] update docs; update run_server.sh; fix initlm
---
runtime/run_server.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/runtime/run_server.sh b/runtime/run_server.sh
index ab1cff7..120193b 100644
--- a/runtime/run_server.sh
+++ b/runtime/run_server.sh
@@ -6,6 +6,7 @@
itn_dir="thuduj12/fst_itn_zh"
lm_dir="damo/speech_ngram_lm_zh-cn-ai-wesp-fst"
decoder_thread_num=32
+model_thread_num=1
io_thread_num=8
port=10095
certfile="../../../ssl_key/server.crt"
@@ -25,6 +26,7 @@
--lm-dir "${lm_dir}" \
--decoder-thread-num ${decoder_thread_num} \
--io-thread-num ${io_thread_num} \
+ --model-thread-num ${model_thread_num} \
--port ${port} \
--certfile "" \
--keyfile "" \
@@ -38,6 +40,7 @@
--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} \
--port ${port} \
--certfile "${certfile}" \
--
Gitblit v1.9.1