From e29e245bcdb765a0a7b723451d7c21ccfa4446c1 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 18 四月 2024 16:05:58 +0800
Subject: [PATCH] fix FunOfflineInfer

---
 runtime/onnxruntime/src/funasrruntime.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/runtime/onnxruntime/src/funasrruntime.cpp b/runtime/onnxruntime/src/funasrruntime.cpp
index 31f8a95..3323b10 100644
--- a/runtime/onnxruntime/src/funasrruntime.cpp
+++ b/runtime/onnxruntime/src/funasrruntime.cpp
@@ -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];

--
Gitblit v1.9.1