mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update funasrruntime
This commit is contained in:
parent
d93002b5b8
commit
687277ae9d
@ -252,7 +252,7 @@
|
||||
if (wfst_decoder){
|
||||
wfst_decoder->StartUtterance();
|
||||
}
|
||||
vector<string> msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle);
|
||||
vector<string> msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle, batch_in);
|
||||
for(int idx=0; idx<batch_in; idx++){
|
||||
string msg = msgs[idx];
|
||||
std::vector<std::string> msg_vec = funasr::split(msg, '|');
|
||||
@ -359,7 +359,7 @@
|
||||
if (wfst_decoder){
|
||||
wfst_decoder->StartUtterance();
|
||||
}
|
||||
vector<string> msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle);
|
||||
vector<string> msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle, batch_in);
|
||||
for(int idx=0; idx<batch_in; idx++){
|
||||
string msg = msgs[idx];
|
||||
std::vector<std::string> msg_vec = funasr::split(msg, '|');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user