Description
Go to file
binary-husky 7103ffcdf3 Update README.md 2023-03-21 17:53:04 +08:00
.gitignore up 2023-03-20 17:04:40 +08:00
Dockerfile Dockerfile construct 2023-03-20 17:44:03 +08:00
LICENSE up 2023-03-20 17:04:40 +08:00
README.md Update README.md 2023-03-21 17:53:04 +08:00
config.py ok 2023-03-21 13:53:24 +08:00
demo.jpg add deploy method for windows 2023-03-21 13:35:53 +08:00
demo2.jpg add deploy method for windows 2023-03-21 13:35:53 +08:00
functional.py up 2023-03-20 17:04:40 +08:00
main.py add deploy method for windows 2023-03-21 13:35:53 +08:00
predict.py up 2023-03-20 18:05:43 +08:00
requirements.txt up 2023-03-20 17:04:40 +08:00
show_math.py up 2023-03-20 17:04:40 +08:00

README.md

ChatGPT 学术优化

如果喜欢这个项目请给它一个Star

  • 支持GPT输出的markdown表格
  • 如果输出包含公式会同时以tex形式和渲染形式显示方便复制和阅读
  • 所有按钮都通过读取functional.py动态生成可随意加自定义功能解放粘贴板

直接运行 (Windows or Linux)

# 下载项目
git clone https://github.com/binary-husky/chatgpt_academic.git
cd chatgpt_academic
# 配置 海外Proxy 和 OpenAI API KEY
config.py
# 安装依赖
python -m pip install -r requirements.txt
# 运行
python main.py

使用docker (Linux)

# 下载项目
git clone https://github.com/binary-husky/chatgpt_academic.git
cd chatgpt_academic
# 配置 海外Proxy 和 OpenAI API KEY
config.py
# 安装
docker build -t gpt-academic .
# 运行
docker run --rm -it --net=host gpt-academic

自定义新的便捷按钮

打开functional.py只需看一眼就知道怎么弄了 例如

"英译中": {
    "Prefix": "请翻译成中文:\n\n",
    "Button": None,
    "Suffix": "",
},

配置代理

修改端口与代理软件对应 image

参考项目

https://github.com/Python-Markdown/markdown
https://github.com/gradio-app/gradio
https://github.com/polarwinkel/mdtex2html
https://github.com/GaiZhenbiao/ChuanhuChatGPT