fix FunOfflineInfer

This commit is contained in:
雾聪 2024-04-18 16:05:58 +08:00
parent d0ca906309
commit e29e245bcd

View File

@ -378,7 +378,6 @@
if (wfst_decoder){
wfst_decoder->StartUtterance();
}
vector<string> msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle, batch_in);
vector<string> msg_batch = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle, batch_in);
for(int idx=0; idx<batch_in; idx++){
string msg = msg_batch[idx];