Bostoncake commited on
Commit
229ac9a
·
1 Parent(s): 227f71f

Adjust README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -34
README.md CHANGED
@@ -1,34 +1,9 @@
1
- # ChatGPT Paper Reading Assistant
2
-
3
-
4
- ## 使用步骤:
5
- 1. 在apikey.ini中填入openai的api key([如何获取Api Key](https://chatgpt.cn.obiscr.com/blog/posts/2023/How-to-get-api-key/))。
6
-
7
- 2. 使用过程中的网络代理方式:
8
-
9
- - 使用VPN并且保证全局代理;
10
-
11
- - 使用具有SOCKS5代理功能的代理软件,并在终端中指定:
12
-
13
- ```bash
14
- set http_proxy=http://127.0.0.1:<PORT>
15
- set https_proxy=http://127.0.0.1:<PORT>
16
- ```
17
-
18
- 3. 创建虚拟环境并使用国内镜像安装依赖:
19
-
20
- ```
21
- conda create -n chatgpt python=3.8
22
- conda activate chatgpt
23
- pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
24
- ```
25
-
26
- 4. 对本地论文进行阅读辅助:运行`chat_assistant.py`,并指定论文路径与论文方向
27
-
28
- ```bash
29
- python chat_assistant.py --paper_path "paper/FedSR - A Simple and Effective Domain Generalization Method for Federated Learning.pdf" --research_fields "computer science, artificial intelligence and transfer learning"
30
- ```
31
-
32
- ## Credits
33
- - 在本框架中,从PDF文件提取论文内容的代码由[kaixindelele/ChatPaper](https://github.com/kaixindelele/ChatPaper)修改而来;
34
- - 在本框架中,调用OpenAI框架发送、接收请求的代码由[nishiwen1214/ChatReviewer](https://github.com/kaixindelele/ChatPaper)修改而来;
 
1
+ title: ChatReviewer
2
+ emoji: 💩
3
+ colorFrom: red
4
+ colorTo: pink
5
+ sdk: gradio
6
+ sdk_version: 3.22.1
7
+ app_file: app.py
8
+ pinned: false
9
+ license: apache-2.0