From 9b4e0969f29dccdfa78a55219f8107e549c96e45 Mon Sep 17 00:00:00 2001
From: lzr265946 <lzr265946@alibaba-inc.com>
Date: 星期四, 07 九月 2023 17:19:02 +0800
Subject: [PATCH] fix transformerLM inference recipe

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

diff --git a/funasr/runtime/onnxruntime/src/commonfunc.h b/funasr/runtime/onnxruntime/src/commonfunc.h
index 84cdbaf..d7e5f13 100644
--- a/funasr/runtime/onnxruntime/src/commonfunc.h
+++ b/funasr/runtime/onnxruntime/src/commonfunc.h
@@ -5,6 +5,7 @@
 typedef struct
 {
     std::string msg="";
+    std::string stamp="";
     std::string tpass_msg="";
     float snippet_time=0;
 }FUNASR_RECOG_RESULT;
@@ -17,7 +18,7 @@
 
 typedef struct
 {
-    string msg=0;
+    string msg="";
     vector<string> arr_cache;
 }FUNASR_PUNC_RESULT;
 

--
Gitblit v1.9.1