雾聪
2024-01-26 8f9a6ba15be8564b12f0018cc3d300a525a48364
update download tools
2个文件已修改
4 ■■■■ 已修改文件
runtime/websocket/bin/funasr-wss-server-2pass.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/websocket/bin/funasr-wss-server.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
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;