From b635c062f1550be59047168fcb48a39542913a57 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期三, 20 十二月 2023 17:47:54 +0800
Subject: [PATCH] update TimestampSentence

---
 runtime/onnxruntime/bin/funasr-onnx-offline.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/runtime/onnxruntime/bin/funasr-onnx-offline.cpp b/runtime/onnxruntime/bin/funasr-onnx-offline.cpp
index eb908d8..55eda93 100644
--- a/runtime/onnxruntime/bin/funasr-onnx-offline.cpp
+++ b/runtime/onnxruntime/bin/funasr-onnx-offline.cpp
@@ -172,6 +172,10 @@
             if(stamp !=""){
                 LOG(INFO)<< wav_id <<" : "<<stamp;
             }
+            string stamp_sents = FunASRGetStampSents(result);
+            if(stamp_sents !=""){
+                LOG(INFO)<< wav_id <<" : "<<stamp_sents;
+            }
             snippet_time += FunASRGetRetSnippetTime(result);
             FunASRFreeResult(result);
         }

--
Gitblit v1.9.1