From 94de39dde2e616a01683c518023d0fab72b4e103 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 19 二月 2024 22:21:50 +0800
Subject: [PATCH] aishell example

---
 runtime/run_server.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/runtime/run_server.sh b/runtime/run_server.sh
index 8c14f98..22907ab 100644
--- a/runtime/run_server.sh
+++ b/runtime/run_server.sh
@@ -8,7 +8,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
@@ -25,7 +25,7 @@
 fi
 
 cd $cmd_path
-./${cmd}  \
+$cmd_path/${cmd}  \
   --download-model-dir "${download_model_dir}" \
   --model-dir "${model_dir}" \
   --vad-dir "${vad_dir}" \
@@ -38,5 +38,5 @@
   --port ${port} \
   --certfile  "${certfile}" \
   --keyfile "${keyfile}" \
-  --hotword "${hotword}"
+  --hotword "${hotword}" &
 

--
Gitblit v1.9.1