From 4ace5a95b052d338947fc88809a440ccd55cf6b4 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 16 十一月 2023 16:39:52 +0800
Subject: [PATCH] funasr pages

---
 runtime/run_server.sh |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/runtime/run_server.sh b/runtime/run_server.sh
index 8f6ccbf..120193b 100644
--- a/runtime/run_server.sh
+++ b/runtime/run_server.sh
@@ -2,10 +2,11 @@
 download_model_dir="/workspace/models"
 model_dir="damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx"
 vad_dir="damo/speech_fsmn_vad_zh-cn-16k-common-onnx"
-punc_dir="damo/punc_ct-transformer_zh-cn-common-vocab272727-onnx"
+punc_dir="damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx"
 itn_dir="thuduj12/fst_itn_zh"
-lm_dir=""
+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