From 5059ec657f3287f53b69199d7c4684208190a5aa Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 23 三月 2023 19:56:08 +0800
Subject: [PATCH] websocket

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

diff --git a/funasr/runtime/python/websocket/ASR_server.py b/funasr/runtime/python/websocket/ASR_server.py
index 175159c..20de20a 100644
--- a/funasr/runtime/python/websocket/ASR_server.py
+++ b/funasr/runtime/python/websocket/ASR_server.py
@@ -59,7 +59,7 @@
     mode='online',
     ngpu=args.ngpu,
 )
-param_dict_vad = {'in_cache': dict()}
+param_dict_vad = {'in_cache': dict(), "is_final": False}
   
 # asr
 param_dict_asr = {}

--
Gitblit v1.9.1