From 995c8b090c8c0d514a3ec2f955793b653bc44074 Mon Sep 17 00:00:00 2001 From: YAN XIANGJUN <126038017+Yan-Xiangjun@users.noreply.github.com> Date: Sun, 14 Dec 2025 21:55:35 +0800 Subject: [PATCH] Fix path mistake in FunASR/runtime/python /onnxruntime/README.md and fix python dependence mistake of funasr_onnx (#2710) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix path mistake in FunASR/runtime/python /onnxruntime/README.md “FunASR/funasr/runtime/python/onnxruntime”是一个不存在的路径,在执行“cd FunASR”之后,如果用户再执行“cd funasr/runtime/python/onnxruntime”会出现错误。 "FunASR/funasr/runtime/python/onnxruntime" is an invalid path. After executing "cd FunASR", if the user execute "cd funasr/runtime/python/onnxruntime", an error will occur. * Change onnx to jieba in the setup.py of funasr_onnx --- runtime/python/onnxruntime/README.md | 4 ++-- runtime/python/onnxruntime/setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/python/onnxruntime/README.md b/runtime/python/onnxruntime/README.md index 8034ac241..6bb3d189c 100644 --- a/runtime/python/onnxruntime/README.md +++ b/runtime/python/onnxruntime/README.md @@ -17,8 +17,8 @@ pip install -U modelscope funasr or install from source code ```shell -git clone https://github.com/alibaba/FunASR.git && cd FunASR -cd funasr/runtime/python/onnxruntime +git clone https://github.com/alibaba/FunASR.git +cd FunASR/runtime/python/onnxruntime pip install -e ./ # For the users in China, you could install with the command: # pip install -e ./ -i https://mirror.sjtu.edu.cn/pypi/web/simple diff --git a/runtime/python/onnxruntime/setup.py b/runtime/python/onnxruntime/setup.py index 26dce2c4a..8acd2f9f0 100644 --- a/runtime/python/onnxruntime/setup.py +++ b/runtime/python/onnxruntime/setup.py @@ -34,7 +34,7 @@ setuptools.setup( "numpy<=1.26.4", "kaldi-native-fbank", "PyYAML>=5.1.2", - "onnx", + "jieba", "sentencepiece", ], packages=[MODULE_NAME, f"{MODULE_NAME}.utils"],