From 71b403ee9d1c6c4d56e73fe67aa83c7d15b88d46 Mon Sep 17 00:00:00 2001
From: lyblsgo <wucong.lyb@alibaba-inc.com>
Date: 星期二, 24 十月 2023 17:24:50 +0800
Subject: [PATCH] update docs

---
 funasr/runtime/docs/SDK_advanced_guide_online_zh.md |    3 +--
 funasr/runtime/run_server.sh                        |    6 +++---
 funasr/runtime/run_server_2pass.sh                  |    6 +++---
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/funasr/runtime/docs/SDK_advanced_guide_online_zh.md b/funasr/runtime/docs/SDK_advanced_guide_online_zh.md
index 902ae7a..4eb584e 100644
--- a/funasr/runtime/docs/SDK_advanced_guide_online_zh.md
+++ b/funasr/runtime/docs/SDK_advanced_guide_online_zh.md
@@ -31,8 +31,7 @@
   --model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx  \
   --online-model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx  \
   --punc-dir damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx \
-  --itn-dir thuduj12/fst_itn_zh \
-  --hotwordsfile ../../hotwords.txt > log.out 2>&1 &
+  --itn-dir thuduj12/fst_itn_zh  > log.out 2>&1 &
 
 # 濡傛灉鎮ㄦ兂鍏抽棴ssl锛屽鍔犲弬鏁帮細--certfile 0
 # 濡傛灉鎮ㄦ兂浣跨敤鏃堕棿鎴虫垨鑰呯儹璇嶆ā鍨嬭繘琛岄儴缃诧紝璇疯缃�--model-dir涓哄搴旀ā鍨嬶細
diff --git a/funasr/runtime/run_server.sh b/funasr/runtime/run_server.sh
index f75f159..65ad4a5 100644
--- a/funasr/runtime/run_server.sh
+++ b/funasr/runtime/run_server.sh
@@ -9,7 +9,7 @@
 port=10095
 certfile="../../../ssl_key/server.crt"
 keyfile="../../../ssl_key/server.key"
-hotwordsfile="../../hotwords.txt"
+hotword="../../hotwords.txt"
 
 . ../../egs/aishell/transformer/utils/parse_options.sh || exit 1;
 
@@ -26,7 +26,7 @@
   --port ${port} \
   --certfile  "" \
   --keyfile "" \
-  --hotwordsfile ${hotwordsfile}
+  --hotword ${hotword}
 else
 ./funasr-wss-server  \
   --download-model-dir ${download_model_dir} \
@@ -39,5 +39,5 @@
   --port ${port} \
   --certfile  ${certfile} \
   --keyfile ${keyfile} \
-  --hotwordsfile ${hotwordsfile}
+  --hotword ${hotword}
 fi
diff --git a/funasr/runtime/run_server_2pass.sh b/funasr/runtime/run_server_2pass.sh
index 941064c..e9d9f61 100644
--- a/funasr/runtime/run_server_2pass.sh
+++ b/funasr/runtime/run_server_2pass.sh
@@ -10,7 +10,7 @@
 port=10095
 certfile="../../../ssl_key/server.crt"
 keyfile="../../../ssl_key/server.key"
-hotwordsfile="../../hotwords.txt"
+hotword="../../hotwords.txt"
 
 . ../../egs/aishell/transformer/utils/parse_options.sh || exit 1;
 
@@ -28,7 +28,7 @@
   --port ${port} \
   --certfile  "" \
   --keyfile "" \
-  --hotwordsfile ${hotwordsfile}
+  --hotword ${hotword}
 else
 ./funasr-wss-server-2pass  \
   --download-model-dir ${download_model_dir} \
@@ -42,5 +42,5 @@
   --port ${port} \
   --certfile  ${certfile} \
   --keyfile ${keyfile} \
-  --hotwordsfile ${hotwordsfile}
+  --hotword ${hotword}
 fi

--
Gitblit v1.9.1