From 30e4f1fa711de86c369152215358d069d066122a Mon Sep 17 00:00:00 2001
From: hnluo <haoneng.lhn@alibaba-inc.com>
Date: 星期一, 08 五月 2023 10:31:22 +0800
Subject: [PATCH] Merge pull request #469 from alibaba-damo-academy/dev_lhn

---
 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