diff --git a/main.py b/main.py index 98ccc1e0e..3cebe427f 100644 --- a/main.py +++ b/main.py @@ -26,7 +26,7 @@ def enable_log(PATH_LOGGING): def main(): import gradio as gr - if gr.__version__ not in ['3.32.9']: + if gr.__version__ not in ['3.32.9', '3.32.10']: raise ModuleNotFoundError("使用项目内置Gradio获取最优体验! 请运行 `pip install -r requirements.txt` 指令安装内置Gradio及其他依赖, 详情信息见requirements.txt.") from request_llms.bridge_all import predict from toolbox import format_io, find_free_port, on_file_uploaded, on_report_generated, get_conf, ArgsGeneralWrapper, DummyWith diff --git a/requirements.txt b/requirements.txt index 64b820274..b14ccb3e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -https://public.agent-matrix.com/publish/gradio-3.32.9-py3-none-any.whl +https://public.agent-matrix.com/publish/gradio-3.32.10-py3-none-any.whl fastapi==0.110 gradio-client==0.8 pypdf2==2.12.1 diff --git a/version b/version index e82505bde..0ffcf8f19 100644 --- a/version +++ b/version @@ -1,5 +1,5 @@ { - "version": 3.75, + "version": 3.76, "show_feature": true, "new_feature": "添加TTS语音输出(EdgeTTS和SoVits语音克隆) <-> Doc2x PDF翻译 <-> 添加回溯对话按钮" }