binary-husky / gpt_academic

为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。

Home Page:https://github.com/binary-husky/gpt_academic/wiki/online

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Version of dependent package "gradio" cannnot be too high

ArcueidShiki opened this issue · comments

Installation Method | 安装方法与平台

Pip Install (I ignored requirements.txt)

Version | 版本

Others | 非最新版

OS | 操作系统

Windows

Describe the bug | 简述

python 3.11.0, gradio 4.38 not working
but, graio 3.23 worked well.
compatibility problem.

Screen Shot | 有帮助的截图

1714360136094

Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

No response

commented

Hi,

Thanks for getting in touch.

Please note that the official gradio package was not used by this project, which means this error was expected.

Instead, a cloned branch with additional modifications was used. Link to install & Link to the repo

I recommend installing it using pip install -r requirements.txt so you won't need to deal with compatibility problems.

Hope this can help.

In addition, we have listed the enhanced feature of our gradio fork at here

GPT-Academic前端基于Gradio的一个3.32版本分支,源代码开源地址 https://github.com/binary-husky/gradio-fix

该分支和官方相比,有以下不同:

修复不能在动态输出时选中文本的BUG
支持mermaid脑图绘制和动态生长
新增一个浮窗控件 gr.Floating(左上的工具栏 以及 可拖动的输入区)
减小了录音控件的数据采集间隔提高实时性
为按钮控件添加info_str参数,当鼠标悬浮在按钮上时,显示提示
为按钮控件添加proxy_of参数,可以把一个按钮当做另一个按钮的克隆(代理)
移除gradio里面很多导致断网机器(在保密机构内运行的机器)无法运行的链接、字体