From 36cc1768c4b9583a673afa041928a679717c1d0a Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 08 五月 2023 10:36:58 +0800
Subject: [PATCH] recipe
---
funasr/runtime/python/websocket/ws_server_offline.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/python/websocket/ws_server_offline.py b/funasr/runtime/python/websocket/ws_server_offline.py
index c2366d0..c415703 100644
--- a/funasr/runtime/python/websocket/ws_server_offline.py
+++ b/funasr/runtime/python/websocket/ws_server_offline.py
@@ -96,6 +96,7 @@
if not is_speaking:
websocket.vad_pre_idx = 0
frames = []
+ websocket.param_dict_vad = {'in_cache': dict()}
else:
frames = frames[-20:]
--
Gitblit v1.9.1