From 5d165695e651a814a1d44d2beaedf4348eecc039 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 08 五月 2023 00:36:14 +0800
Subject: [PATCH] vad begin point bias

---
 funasr/runtime/python/websocket/ws_server_offline.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/python/websocket/ws_server_offline.py b/funasr/runtime/python/websocket/ws_server_offline.py
index c60ea6f..c2366d0 100644
--- a/funasr/runtime/python/websocket/ws_server_offline.py
+++ b/funasr/runtime/python/websocket/ws_server_offline.py
@@ -97,7 +97,7 @@
                         websocket.vad_pre_idx = 0
                         frames = []
                     else:
-                        frames = frames[-10:]
+                        frames = frames[-20:]
 
      
     except websockets.ConnectionClosed:

--
Gitblit v1.9.1