From 383f7f4f7735f256403ea0347700d949e7c6305b Mon Sep 17 00:00:00 2001 From: binary-husky Date: Wed, 11 Oct 2023 15:51:34 +0800 Subject: [PATCH] add webrtcvad dependency --- crazy_functions/语音助手.py | 2 +- docs/GithubAction+AllCapacity | 2 +- docs/GithubAction+NoLocal+Latex | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crazy_functions/语音助手.py b/crazy_functions/语音助手.py index 50f7725..dbaaacf 100644 --- a/crazy_functions/语音助手.py +++ b/crazy_functions/语音助手.py @@ -201,7 +201,7 @@ def 语音助手(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt import nls from scipy import io except: - chatbot.append(["导入依赖失败", "使用该模块需要额外依赖, 安装方法:```pip install --upgrade aliyun-python-sdk-core==2.13.3 pyOpenSSL scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git```"]) + chatbot.append(["导入依赖失败", "使用该模块需要额外依赖, 安装方法:```pip install --upgrade aliyun-python-sdk-core==2.13.3 pyOpenSSL webrtcvad scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git```"]) yield from update_ui(chatbot=chatbot, history=history) # 刷新界面 return diff --git a/docs/GithubAction+AllCapacity b/docs/GithubAction+AllCapacity index 5e50b40..bf9482d 100644 --- a/docs/GithubAction+AllCapacity +++ b/docs/GithubAction+AllCapacity @@ -14,7 +14,7 @@ RUN python3 -m pip install colorama Markdown pygments pymupdf RUN python3 -m pip install python-docx moviepy pdfminer RUN python3 -m pip install zh_langchain==0.2.1 pypinyin RUN python3 -m pip install rarfile py7zr -RUN python3 -m pip install aliyun-python-sdk-core==2.13.3 pyOpenSSL scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git +RUN python3 -m pip install aliyun-python-sdk-core==2.13.3 pyOpenSSL webrtcvad scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git # 下载分支 WORKDIR /gpt RUN git clone --depth=1 https://github.com/binary-husky/gpt_academic.git diff --git a/docs/GithubAction+NoLocal+Latex b/docs/GithubAction+NoLocal+Latex index c22e509..999e516 100644 --- a/docs/GithubAction+NoLocal+Latex +++ b/docs/GithubAction+NoLocal+Latex @@ -16,7 +16,7 @@ RUN pip3 install colorama Markdown pygments pymupdf RUN pip3 install python-docx moviepy pdfminer RUN pip3 install zh_langchain==0.2.1 RUN pip3 install nougat-ocr -RUN pip3 install aliyun-python-sdk-core==2.13.3 pyOpenSSL scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git +RUN pip3 install aliyun-python-sdk-core==2.13.3 pyOpenSSL webrtcvad scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git # 装载项目文件 COPY . .