diff --git a/README.md b/README.md index 49df2023..b3bc5b9c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ # ChatGPT 学术优化 **如果喜欢这个项目,请给它一个Star** + +
+
+
+## 直接运行 (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
# 下载项目
diff --git a/demo.jpg b/demo.jpg
new file mode 100644
index 00000000..fcffc19a
Binary files /dev/null and b/demo.jpg differ
diff --git a/demo2.jpg b/demo2.jpg
new file mode 100644
index 00000000..38fae48e
Binary files /dev/null and b/demo2.jpg differ
diff --git a/main.py b/main.py
index 0aefd335..ce162efc 100644
--- a/main.py
+++ b/main.py
@@ -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: