雾聪 2 лет назад
Родитель
Сommit
43fb6a35f5
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      funasr/runtime/websocket/funasr-wss-server.cpp

+ 3 - 3
funasr/runtime/websocket/funasr-wss-server.cpp

@@ -152,7 +152,7 @@ int main(int argc, char* argv[]) {
                 
             int ret = system(python_cmd_vad.c_str());
             if(ret !=0){
-                LOG(INFO) << "Failed to download model from modelscope. If you set local model path, you can ignore the errors.";
+                LOG(INFO) << "Failed to download model from modelscope. If you set local vad model path, you can ignore the errors.";
             }
             down_vad_model = down_vad_path+"/model_quant.onnx";
             if(s_vad_quant=="false" || s_vad_quant=="False" || s_vad_quant=="FALSE"){
@@ -188,7 +188,7 @@ int main(int argc, char* argv[]) {
                 
             int ret = system(python_cmd_asr.c_str());
             if(ret !=0){
-                LOG(INFO) << "Failed to download model from modelscope. If you set local model path, you can ignore the errors.";
+                LOG(INFO) << "Failed to download model from modelscope. If you set local asr model path, you can ignore the errors.";
             }
             down_asr_model = down_asr_path+"/model_quant.onnx";
             if(s_asr_quant=="false" || s_asr_quant=="False" || s_asr_quant=="FALSE"){
@@ -224,7 +224,7 @@ int main(int argc, char* argv[]) {
                 
             int ret = system(python_cmd_punc.c_str());
             if(ret !=0){
-                LOG(INFO) << "Failed to download model from modelscope. If you set local model path, you can ignore the errors.";
+                LOG(INFO) << "Failed to download model from modelscope. If you set local punc model path, you can ignore the errors.";
             }
             down_punc_model = down_punc_path+"/model_quant.onnx";
             if(s_punc_quant=="false" || s_punc_quant=="False" || s_punc_quant=="FALSE"){