From 45612782d77c3547a0b21e060de9b124303a7ab1 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期五, 16 六月 2023 14:26:06 +0800
Subject: [PATCH] update funasr-onnx-offline-rtf

---
 funasr/runtime/websocket/funasr-wss-client.cpp             |    1 -
 funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp b/funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp
index d2692ce..a4ee7f7 100644
--- a/funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp
+++ b/funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp
@@ -65,7 +65,7 @@
             n_total_length += snippet_time;
             FunASRFreeResult(result);
         }else{
-            LOG(ERROR) << ("No return data!\n");
+            LOG(ERROR) << wav_ids[i] << (": No return data!\n");
         }
     }
     {
diff --git a/funasr/runtime/websocket/funasr-wss-client.cpp b/funasr/runtime/websocket/funasr-wss-client.cpp
index 4a3c751..517a360 100644
--- a/funasr/runtime/websocket/funasr-wss-client.cpp
+++ b/funasr/runtime/websocket/funasr-wss-client.cpp
@@ -91,7 +91,6 @@
         using websocketpp::lib::placeholders::_1;
         m_client.set_open_handler(bind(&WebsocketClient::on_open, this, _1));
         m_client.set_close_handler(bind(&WebsocketClient::on_close, this, _1));
-        // m_client.set_close_handler(bind(&WebsocketClient::on_close, this, _1));
 
         m_client.set_message_handler(
             [this](websocketpp::connection_hdl hdl, message_ptr msg) {

--
Gitblit v1.9.1