From ff83116369ba6afe56430cb0b9d977fbe7f4bced Mon Sep 17 00:00:00 2001
From: Atomie CHEN <atomic_cwh@163.com>
Date: 星期一, 25 三月 2024 09:37:26 +0800
Subject: [PATCH] fix: resolve IndexError when using spk model and the audio contains only 1 segment (#1535)

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

diff --git a/runtime/onnxruntime/src/commonfunc.h b/runtime/onnxruntime/src/commonfunc.h
index 9bd2a00..3449ebc 100644
--- a/runtime/onnxruntime/src/commonfunc.h
+++ b/runtime/onnxruntime/src/commonfunc.h
@@ -9,6 +9,7 @@
 {
     std::string msg;
     std::string stamp;
+    std::string stamp_sents;
     std::string tpass_msg;
     float snippet_time;
 }FUNASR_RECOG_RESULT;

--
Gitblit v1.9.1