From 8f9a6ba15be8564b12f0018cc3d300a525a48364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=BE=E8=81=AA?= Date: Fri, 26 Jan 2024 10:04:59 +0800 Subject: [PATCH] update download tools --- runtime/websocket/bin/funasr-wss-server-2pass.cpp | 2 +- runtime/websocket/bin/funasr-wss-server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/websocket/bin/funasr-wss-server-2pass.cpp b/runtime/websocket/bin/funasr-wss-server-2pass.cpp index ef27d5b4a..4bc413cc5 100644 --- a/runtime/websocket/bin/funasr-wss-server-2pass.cpp +++ b/runtime/websocket/bin/funasr-wss-server-2pass.cpp @@ -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; diff --git a/runtime/websocket/bin/funasr-wss-server.cpp b/runtime/websocket/bin/funasr-wss-server.cpp index 8f2a7ab68..bff4f6612 100644 --- a/runtime/websocket/bin/funasr-wss-server.cpp +++ b/runtime/websocket/bin/funasr-wss-server.cpp @@ -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;