Procházet zdrojové kódy

fix funasr-onnx-offline-rtf's log

雾聪 před 2 roky
rodič
revize
65e68a9fc7

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

@@ -59,7 +59,7 @@ void runReg(FUNASR_HANDLE asr_handle, vector<string> wav_list, vector<string> wa
 
         if(result){
             string msg = FunASRGetResult(result, 0);
-            LOG(INFO) << "Thread: " << this_thread::get_id() << "," << wav_ids[i] << " : " << msg.c_str();
+            LOG(INFO) << "Thread: " << this_thread::get_id() << "," << wav_ids[i] << " : " << msg;
 
             float snippet_time = FunASRGetRetSnippetTime(result);
             n_total_length += snippet_time;