Spaces:
Sleeping
Sleeping
Chuan Hu
commited on
Commit
•
4811365
1
Parent(s):
0917ac6
Update README.md
Browse files
README.md
CHANGED
@@ -5,16 +5,35 @@ GUI for ChatGPT API
|
|
5 |
<img width="1204" alt="截屏2023-03-03 13 59 46" src="https://user-images.githubusercontent.com/51039745/222643242-c0b90a54-8f07-4fb6-b88e-ef338fd80f49.png">
|
6 |
|
7 |
## 使用方式
|
|
|
|
|
|
|
|
|
|
|
8 |
- 安装依赖
|
9 |
|
10 |
```
|
11 |
pip install -r requirements.txt
|
12 |
```
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
- 启动
|
17 |
|
18 |
```
|
19 |
python ChuanhuChatbot.py
|
20 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
<img width="1204" alt="截屏2023-03-03 13 59 46" src="https://user-images.githubusercontent.com/51039745/222643242-c0b90a54-8f07-4fb6-b88e-ef338fd80f49.png">
|
6 |
|
7 |
## 使用方式
|
8 |
+
|
9 |
+
- 填入你的 OpenAI API 密钥
|
10 |
+
|
11 |
+
<img width="552" alt="SCR-20230302-sula" src="https://user-images.githubusercontent.com/51039745/222445258-248f2789-81d2-4f0a-8697-c720f588d8de.png">
|
12 |
+
|
13 |
- 安装依赖
|
14 |
|
15 |
```
|
16 |
pip install -r requirements.txt
|
17 |
```
|
18 |
+
|
19 |
+
如果报错,试试
|
20 |
+
|
21 |
+
```
|
22 |
+
pip3 install -r requirements.txt
|
23 |
+
```
|
24 |
+
|
25 |
+
如果还是不行,请先[安装Python](https://www.runoob.com/python/python-install.html)。
|
26 |
|
27 |
- 启动
|
28 |
|
29 |
```
|
30 |
python ChuanhuChatbot.py
|
31 |
```
|
32 |
+
|
33 |
+
如果报错,试试
|
34 |
+
|
35 |
+
```
|
36 |
+
python3 ChuanhuChatbot.py
|
37 |
+
```
|
38 |
+
|
39 |
+
如果还是不行,请先[安装Python](https://www.runoob.com/python/python-install.html)。
|