From 200bba87f0060cfbc92c6ff45026313c188b6452 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期三, 17 四月 2024 19:14:20 +0800
Subject: [PATCH] sort frame_queue

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

diff --git a/runtime/onnxruntime/src/paraformer-torch.cpp b/runtime/onnxruntime/src/paraformer-torch.cpp
index 9ac0cf7..113d43f 100644
--- a/runtime/onnxruntime/src/paraformer-torch.cpp
+++ b/runtime/onnxruntime/src/paraformer-torch.cpp
@@ -373,6 +373,9 @@
                 }
             }
             results.push_back(result);
+			if (wfst_decoder){
+				wfst_decoder->StartUtterance();
+			}
         }
     }
     catch (std::exception const &e)

--
Gitblit v1.9.1