add deploy method for windows

这个提交包含在:
505030475
2023-03-21 13:35:53 +08:00
父节点 4afc7b3dda
当前提交 5066fc8757
共有 4 个文件被更改,包括 23 次插入4 次删除

查看文件

@@ -1,6 +1,15 @@
# ChatGPT 学术优化
**如果喜欢这个项目,请给它一个Star**
<div align="center">
<img src="demo2.jpg" width="500" >
</div>
<div align="center">
<img src="demo.jpg" width="500" >
</div>
<div align="center">
<img src="公式.gif" width="700" >
</div>
@@ -9,9 +18,22 @@
<img src="润色.gif" width="700" >
</div>
## 直接运行 (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
## 使用docker (Linux)
``` sh
# 下载项目

二进制
demo.jpg 普通文件

二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 262 KiB

二进制
demo2.jpg 普通文件

二进制文件未显示。

之后

宽度:  |  高度:  |  大小: 264 KiB

查看文件

@@ -46,9 +46,6 @@ def markdown_convertion(txt):
else:
return markdown.markdown(txt,extensions=['fenced_code','tables'])
# math_config = {'mdx_math': {'enable_dollar_delimiter': True}}
# markdown.markdown(txt, extensions=['fenced_code', 'tables', 'mdx_math'], extension_configs=math_config)
def format_io(self,y):
if y is None: