gpt_academic icon indicating copy to clipboard operation
gpt_academic copied to clipboard

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

Open ArcueidShiki opened this issue 1 year ago • 3 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

ArcueidShiki avatar Apr 29 '24 03:04 ArcueidShiki

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.

binaryYuki avatar Apr 30 '24 17:04 binaryYuki

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

binary-husky avatar May 01 '24 10:05 binary-husky

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

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

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

binary-husky avatar May 01 '24 10:05 binary-husky