Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

vad begin point bias

游雁5d165695e651
diff --git a/funasr/runtime/python/onnxruntime/setup.py b/funasr/runtime/python/onnxruntime/setup.py
index 06603f003..3fafd5339 100644
--- a/funasr/runtime/python/onnxruntime/setup.py
+++ b/funasr/runtime/python/onnxruntime/setup.py
@@ -13,7 +13,7 @@ def get_readme():
MODULE_NAME = 'funasr_onnx'
-VERSION_NUM = '0.0.6'
+VERSION_NUM = '0.0.7'
setuptools.setup(
name=MODULE_NAME,
diff --git a/funasr/runtime/python/websocket/tmp/1best_recog/text b/funasr/runtime/python/websocket/tmp/1best_recog/text
new file mode 100644
index 000000000..ff2ab648c
--- /dev/null
+++ b/funasr/runtime/python/websocket/tmp/1best_recog/text
@@ -0,0 +1,12 @@
+wav1 欢 迎 大
+wav1 家 来
+wav1 体 验 达
+wav1 摩 院 推
+wav1 出 的
+wav1 语 音 识
+wav1 别 模
+wav1 型
+wav2 欢 迎 大
+wav2 家 来
+wav2 体 验 达
+wav2 摩 院 推
diff --git a/funasr/runtime/python/websocket/ws_server_offline.py b/funasr/runtime/python/websocket/ws_server_offline.py
index c60ea6f16..c2366d085 100644
--- a/funasr/runtime/python/websocket/ws_server_offline.py
+++ b/funasr/runtime/python/websocket/ws_server_offline.py
@@ -97,7 +97,7 @@ async def ws_serve(websocket, path):
websocket.vad_pre_idx = 0
frames = []
else:
- frames = frames[-10:]
+ frames = frames[-20:]
except websockets.ConnectionClosed: