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
fix asr vad
游雁07381a863246
diff --git a/funasr/bin/asr_inference_paraformer_vad.py b/funasr/bin/asr_inference_paraformer_vad.pyindex 2cd28cc12..2832504c0 100644--- a/funasr/bin/asr_inference_paraformer_vad.py+++ b/funasr/bin/asr_inference_paraformer_vad.py@@ -293,7 +293,7 @@ def inference_modelscope(text_postprocessed, time_stamp_postprocessed, word_lists = postprocessed_result[0], \postprocessed_result[1], \postprocessed_result[2]- text_postprocessed_punc = ""+ text_postprocessed_punc = text_postprocessedif len(word_lists) > 0 and text2punc is not None:text_postprocessed_punc, punc_id_list = text2punc(word_lists, 20)diff --git a/funasr/bin/asr_inference_paraformer_vad_punc.py b/funasr/bin/asr_inference_paraformer_vad_punc.pyindex 60780615d..1d09c790a 100644--- a/funasr/bin/asr_inference_paraformer_vad_punc.py+++ b/funasr/bin/asr_inference_paraformer_vad_punc.py@@ -612,7 +612,7 @@ def inference_modelscope(text_postprocessed, time_stamp_postprocessed, word_lists = postprocessed_result[0], \postprocessed_result[1], \postprocessed_result[2]- text_postprocessed_punc = ""+ text_postprocessed_punc = text_postprocessedif len(word_lists) > 0 and text2punc is not None:text_postprocessed_punc, punc_id_list = text2punc(word_lists, 20)