fix: kill kws

This commit is contained in:
Del Wang
2025-05-08 23:08:44 +08:00
parent 3f85e07ba7
commit e9e4ca92dd
+2 -2
View File
@@ -63,10 +63,10 @@ fi
echo "🔥 正在启动唤醒词识别服务..."
kill -9 `ps|grep "open-xiaoai/kws/kws-monitor"|grep -v grep|awk '{print $1}'`
kill -9 `ps|grep "open-xiaoai/kws/kws-monitor"|grep -v grep|awk '{print $1}'` || true
"$KWS_MONITOR_BIN" &
kill -9 `ps|grep "open-xiaoai/kws/kws"|grep -v grep|awk '{print $1}'`
kill -9 `ps|grep "open-xiaoai/kws/kws"|grep -v grep|awk '{print $1}'` || true
"$KWS_BIN" \
--model-type=zipformer2 \
--tokens="$WORK_DIR/models/tokens.txt" \