From 1ad439f96b8cdbca98ee95b886d692dfa20e85ce Mon Sep 17 00:00:00 2001
From: mengzhe.cmz <mengzhe.cmz@alibaba-inc.com>
Date: 星期三, 12 四月 2023 19:25:29 +0800
Subject: [PATCH] fix task.py with no dest_sample_rate task; fix bug in train and infer

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

diff --git a/funasr/runtime/onnxruntime/src/commonfunc.h b/funasr/runtime/onnxruntime/src/commonfunc.h
index 237df86..5198030 100644
--- a/funasr/runtime/onnxruntime/src/commonfunc.h
+++ b/funasr/runtime/onnxruntime/src/commonfunc.h
@@ -4,8 +4,8 @@
 typedef struct
 {
     std::string msg;
-
-}RPASR_RECOG_RESULT;
+    float  snippet_time;
+}FUNASR_RECOG_RESULT;
 
 
 #ifdef _WIN32
@@ -53,4 +53,4 @@
 
         }
     }
-}
\ No newline at end of file
+}

--
Gitblit v1.9.1