From ff83116369ba6afe56430cb0b9d977fbe7f4bced Mon Sep 17 00:00:00 2001
From: Atomie CHEN <atomic_cwh@163.com>
Date: 星期一, 25 三月 2024 09:37:26 +0800
Subject: [PATCH] fix: resolve IndexError when using spk model and the audio contains only 1 segment (#1535)
---
runtime/websocket/bin/funasr-wss-server-2pass.cpp | 2 +-
1 files changed, 1 insertions(+), 1 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;
--
Gitblit v1.9.1