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 bug in timestamp inference
shixian.shi33a9bafbcc74
diff --git a/funasr/bin/asr_inference_launch.py b/funasr/bin/asr_inference_launch.pyindex e6404438b..0c564be51 100644--- a/funasr/bin/asr_inference_launch.py+++ b/funasr/bin/asr_inference_launch.py@@ -427,7 +427,7 @@ def inference_paraformer(else:text_postprocessed, word_lists = postprocessed_result[0], postprocessed_result[1]item = {'key': key, 'value': text_postprocessed}- if timestamp_postprocessed != "" or len(timestamp) == 0:+ if timestamp_postprocessed != "":item['timestamp'] = timestamp_postprocessedasr_result_list.append(item)finish_count += 1