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
bug fix
shixian.shi5b2218076bae
diff --git a/funasr/models/ct_transformer/model.py b/funasr/models/ct_transformer/model.pyindex 1891ac7aa..45f57460c 100644--- a/funasr/models/ct_transformer/model.py+++ b/funasr/models/ct_transformer/model.py@@ -359,7 +359,7 @@ class CTTransformer(torch.nn.Module):ind_append = len_tokens - i - 1for _ in range(num_append):new_punc_array.insert(ind_append, 1)- punc_array = torch.tensor(new_punc_array)+ punc_array = torch.tensor(new_punc_array)result_i = {"key": key[0], "text": new_mini_sentence_out, "punc_array": punc_array}results.append(result_i)