From 93a02feda1848531a48a1794a8de12a962c84a8e Mon Sep 17 00:00:00 2001
From: Xingchen Song(宋星辰) <xingchensong1996@163.com>
Date: 星期五, 07 六月 2024 23:10:13 +0800
Subject: [PATCH] [fix] fix empty asr result (#1794)
---
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