From 004ae1e542a6417f496ec6db2e0d7ce9218fc61d Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期六, 22 四月 2023 20:06:50 +0800
Subject: [PATCH] Merge pull request #402 from zhuzizyf/dev_knf

---
 funasr/runtime/onnxruntime/src/commonfunc.h |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/commonfunc.h b/funasr/runtime/onnxruntime/src/commonfunc.h
index 3f3c53a..8d1a97c 100644
--- a/funasr/runtime/onnxruntime/src/commonfunc.h
+++ b/funasr/runtime/onnxruntime/src/commonfunc.h
@@ -1,4 +1,12 @@
 #pragma once 
+
+typedef struct
+{
+    std::string msg;
+    float  snippet_time;
+}FUNASR_RECOG_RESULT;
+
+
 #ifdef _WIN32
 #include <codecvt>
 
@@ -17,8 +25,6 @@
 }
 
 #endif
-
-
 
 inline void getInputName(Ort::Session* session, string& inputName,int nIndex=0) {
     size_t numInputNodes = session->GetInputCount();
@@ -42,4 +48,4 @@
 
         }
     }
-}
\ No newline at end of file
+}

--
Gitblit v1.9.1