Przeglądaj źródła

update funasr-onnx-offline-rtf

雾聪 2 lat temu
rodzic
commit
45612782d7

+ 1 - 1
funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp

@@ -65,7 +65,7 @@ void runReg(FUNASR_HANDLE asr_handle, vector<string> wav_list, vector<string> wa
             n_total_length += snippet_time;
             FunASRFreeResult(result);
         }else{
-            LOG(ERROR) << ("No return data!\n");
+            LOG(ERROR) << wav_ids[i] << (": No return data!\n");
         }
     }
     {

+ 0 - 1
funasr/runtime/websocket/funasr-wss-client.cpp

@@ -91,7 +91,6 @@ class WebsocketClient {
         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) {