From 561bdbdfc0f8fd6234c5130fdc8631bf8e294bd8 Mon Sep 17 00:00:00 2001
From: 王梦迪 <73778524+di-osc@users.noreply.github.com>
Date: 星期四, 22 五月 2025 11:27:01 +0800
Subject: [PATCH] 通过缓存seg_dict,加快seaco_paraformer推理 (#2520)

---
 runtime/run_server_2pass.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/run_server_2pass.sh b/runtime/run_server_2pass.sh
index d04f8c3..bb33171 100644
--- a/runtime/run_server_2pass.sh
+++ b/runtime/run_server_2pass.sh
@@ -9,7 +9,7 @@
 port=10095
 certfile="$(pwd)/ssl_key/server.crt"
 keyfile="$(pwd)/ssl_key/server.key"
-hotword="$(pwd)/hotwords.txt"
+hotword="$(pwd)/websocket/hotwords.txt"
 # set decoder_thread_num
 decoder_thread_num=$(cat /proc/cpuinfo | grep "processor"|wc -l) || { echo "Get cpuinfo failed. Set decoder_thread_num = 32"; decoder_thread_num=32; }
 multiple_io=16
@@ -40,5 +40,5 @@
   --port ${port} \
   --certfile  "${certfile}" \
   --keyfile "${keyfile}" \
-  --hotword "${hotword}"
+  --hotword "${hotword}" &
 

--
Gitblit v1.9.1