Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

fix func SetBatchSize

雾聪cc10d01fd7d2
diff --git a/runtime/onnxruntime/src/paraformer-torch.h b/runtime/onnxruntime/src/paraformer-torch.h
index 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();