From ffb05b9ae7eccc47416e9e7fae9dea54d400a245 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 10 八月 2023 19:05:51 +0800
Subject: [PATCH] Merge branch 'main' of https://github.com/alibaba-damo-academy/FunASR into main
---
funasr/runtime/websocket/funasr-wss-server.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/funasr/runtime/websocket/funasr-wss-server.cpp b/funasr/runtime/websocket/funasr-wss-server.cpp
index eb1f48c..614d455 100644
--- a/funasr/runtime/websocket/funasr-wss-server.cpp
+++ b/funasr/runtime/websocket/funasr-wss-server.cpp
@@ -79,7 +79,7 @@
TCLAP::ValueArg<int> decoder_thread_num(
"", "decoder-thread-num", "decoder thread num", false, 8, "int");
TCLAP::ValueArg<int> model_thread_num("", "model-thread-num",
- "model thread num", false, 1, "int");
+ "model thread num", false, 4, "int");
TCLAP::ValueArg<std::string> certfile("", "certfile",
"default: ../../../ssl_key/server.crt, path of certficate for WSS connection. if it is empty, it will be in WS mode.",
@@ -152,7 +152,7 @@
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 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 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"){
--
Gitblit v1.9.1