From 03108f25c262e80c85776d66a0be64025a8ab342 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期五, 18 八月 2023 16:24:37 +0800
Subject: [PATCH] update funasr-runtime-deploy-offline-cpu-zh.sh
---
funasr/runtime/onnxruntime/bin/funasr-onnx-offline.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/bin/funasr-onnx-offline.cpp b/funasr/runtime/onnxruntime/bin/funasr-onnx-offline.cpp
index caa8605..c43fd8d 100644
--- a/funasr/runtime/onnxruntime/bin/funasr-onnx-offline.cpp
+++ b/funasr/runtime/onnxruntime/bin/funasr-onnx-offline.cpp
@@ -128,6 +128,10 @@
{
string msg = FunASRGetResult(result, 0);
LOG(INFO)<< wav_id <<" : "<<msg;
+ string stamp = FunASRGetStamp(result);
+ if(stamp !=""){
+ LOG(INFO)<< wav_id <<" : "<<stamp;
+ }
snippet_time += FunASRGetRetSnippetTime(result);
FunASRFreeResult(result);
}
--
Gitblit v1.9.1