Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
vad begin point bias
游雁24f2aa224a49
diff --git a/funasr/runtime/python/websocket/tmp/1best_recog/text b/funasr/runtime/python/websocket/tmp/1best_recog/textindex ff2ab648c..05a67e614 100644--- a/funasr/runtime/python/websocket/tmp/1best_recog/text+++ b/funasr/runtime/python/websocket/tmp/1best_recog/text@@ -1,12 +1,2 @@-wav1 欢 迎 大-wav1 家 来-wav1 体 验 达-wav1 摩 院 推-wav1 出 的-wav1 语 音 识-wav1 别 模-wav1 型-wav2 欢 迎 大-wav2 家 来-wav2 体 验 达-wav2 摩 院 推+wav1 欢迎大家来体验达摩院推出的语音识别模型+wav2 。欢迎大家来体验达摩院推出的语音识别模型diff --git a/funasr/runtime/python/websocket/ws_server_offline.py b/funasr/runtime/python/websocket/ws_server_offline.pyindex c2366d085..c415703e4 100644--- a/funasr/runtime/python/websocket/ws_server_offline.py+++ b/funasr/runtime/python/websocket/ws_server_offline.py@@ -96,6 +96,7 @@ async def ws_serve(websocket, path):if not is_speaking:websocket.vad_pre_idx = 0frames = []+ websocket.param_dict_vad = {'in_cache': dict()}else:frames = frames[-20:]