diff --git a/runtime/onnxruntime/src/funasrruntime.cpp b/runtime/onnxruntime/src/funasrruntime.cpp index e9a3f59f1..e1b147764 100644 --- a/runtime/onnxruntime/src/funasrruntime.cpp +++ b/runtime/onnxruntime/src/funasrruntime.cpp @@ -252,7 +252,7 @@ if (wfst_decoder){ wfst_decoder->StartUtterance(); } - vector msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle); + vector msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle, batch_in); for(int idx=0; idx msg_vec = funasr::split(msg, '|'); @@ -359,7 +359,7 @@ if (wfst_decoder){ wfst_decoder->StartUtterance(); } - vector msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle); + vector msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle, batch_in); for(int idx=0; idx msg_vec = funasr::split(msg, '|');