From 8f9a6ba15be8564b12f0018cc3d300a525a48364 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期五, 26 一月 2024 10:04:59 +0800
Subject: [PATCH] update download tools
---
runtime/websocket/bin/funasr-wss-server.cpp | 2 +-
runtime/websocket/bin/funasr-wss-server-2pass.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 ef27d5b..4bc413c 100644
--- a/runtime/websocket/bin/funasr-wss-server-2pass.cpp
+++ b/runtime/websocket/bin/funasr-wss-server-2pass.cpp
@@ -207,7 +207,7 @@
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 8f2a7ab..bff4f66 100644
--- a/runtime/websocket/bin/funasr-wss-server.cpp
+++ b/runtime/websocket/bin/funasr-wss-server.cpp
@@ -187,7 +187,7 @@
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;
--
Gitblit v1.9.1