Skip to content

Commit

Permalink
update download tools
Browse files Browse the repository at this point in the history
  • Loading branch information
lyblsgo committed Jan 26, 2024
1 parent 646eda7 commit 8f9a6ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/websocket/bin/funasr-wss-server-2pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ int main(int argc, char* argv[]) {
std::string s_lm_path = model_path[LM_DIR];

std::string python_cmd =
"python -m funasr.utils.runtime_sdk_download_tool --type onnx --quantize True ";
"python -m funasr.download.runtime_sdk_download_tool --type onnx --quantize True ";

if (!s_vad_path.empty()) {
std::string python_cmd_vad;
Expand Down
2 changes: 1 addition & 1 deletion runtime/websocket/bin/funasr-wss-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ int main(int argc, char* argv[]) {
std::string s_itn_path = model_path[ITN_DIR];
std::string s_lm_path = model_path[LM_DIR];

std::string python_cmd = "python -m funasr.utils.runtime_sdk_download_tool --type onnx --quantize True ";
std::string python_cmd = "python -m funasr.download.runtime_sdk_download_tool --type onnx --quantize True ";

if(vad_dir.isSet() && !s_vad_path.empty()){
std::string python_cmd_vad;
Expand Down

0 comments on commit 8f9a6ba

Please sign in to comment.