diff --git a/README.md b/README.md index 49df202..b3bc5b9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ # ChatGPT 学术优化 **如果喜欢这个项目,请给它一个Star** + +
+ +
+ +
+ +
+
@@ -9,9 +18,22 @@ +## 直接运行 (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 0000000..fcffc19 Binary files /dev/null and b/demo.jpg differ diff --git a/demo2.jpg b/demo2.jpg new file mode 100644 index 0000000..38fae48 Binary files /dev/null and b/demo2.jpg differ diff --git a/main.py b/main.py index 0aefd33..ce162ef 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: