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 func SetBatchSize
雾聪cc10d01fd7d2
diff --git a/runtime/onnxruntime/src/paraformer-torch.h b/runtime/onnxruntime/src/paraformer-torch.hindex 60f15822b..e49094dc5 100644--- a/runtime/onnxruntime/src/paraformer-torch.h+++ b/runtime/onnxruntime/src/paraformer-torch.h@@ -55,7 +55,7 @@ namespace funasr {string Rescoring();string GetLang(){return language;};int GetAsrSampleRate() { return asr_sample_rate; };- void SetBatchSize(int batch_size) {batch_size_ = batch_size};+ void SetBatchSize(int batch_size) {batch_size_ = batch_size;};int GetBatchSize() {return batch_size_;};void StartUtterance();void EndUtterance();