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
onnxruntime
游雁18bed4c8debe
diff --git a/funasr/runtime/python/onnxruntime/rapid_paraformer/paraformer_onnx.py b/funasr/runtime/python/onnxruntime/rapid_paraformer/paraformer_onnx.pyindex 64dbaf8ee..e0c622c64 100644--- a/funasr/runtime/python/onnxruntime/rapid_paraformer/paraformer_onnx.py+++ b/funasr/runtime/python/onnxruntime/rapid_paraformer/paraformer_onnx.py@@ -42,7 +42,7 @@ class Paraformer():self.batch_size = batch_sizedef __call__(self, wav_content: Union[str, np.ndarray, List[str]], **kwargs) -> List:- waveform_list = self.load_data(wav_content, self.frontend.opts.samp_freq)+ waveform_list = self.load_data(wav_content, self.frontend.opts.frame_opts.samp_freq)waveform_nums = len(waveform_list)asr_res = []