Update config.py

#214
by Zobser - opened
Files changed (2) hide show
  1. README.md +1 -1
  2. config.py +3 -3
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: ChatImprovement
3
  emoji: 😻
4
  colorFrom: blue
5
  colorTo: blue
 
1
  ---
2
+ title: GPT-Academic
3
  emoji: 😻
4
  colorFrom: blue
5
  colorTo: blue
config.py CHANGED
@@ -7,8 +7,8 @@
7
  Configuration reading priority: environment variable > config_private.py > config.py
8
  """
9
 
10
- # [step 1]>> API_KEY = "sk-123456789xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx123456789"。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
11
- API_KEY = "此处填API密钥" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey3,azure-apikey4"
12
 
13
 
14
  # [step 1]>> API_KEY = "sk-123456789xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx123456789"。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
@@ -28,7 +28,7 @@ if USE_PROXY:
28
  # 代理网络的地址,打开你的*学*网软件查看代理的协议(socks5h / http)、地址(localhost)和端口(11284)
29
  proxies = {
30
  # [协议]:// [地址] :[端口]
31
- "http": "socks5h://localhost:11284", # 再例如 "http": "http://127.0.0.1:7890",
32
  "https": "socks5h://localhost:11284", # 再例如 "https": "http://127.0.0.1:7890",
33
  }
34
  else:
 
7
  Configuration reading priority: environment variable > config_private.py > config.py
8
  """
9
 
10
+ # [step 1]>> API_KEY = "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"。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
11
+ API_KEY = "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" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey3,azure-apikey4"
12
 
13
 
14
  # [step 1]>> API_KEY = "sk-123456789xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx123456789"。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
 
28
  # 代理网络的地址,打开你的*学*网软件查看代理的协议(socks5h / http)、地址(localhost)和端口(11284)
29
  proxies = {
30
  # [协议]:// [地址] :[端口]
31
+ "http": "http://127.0.0.1:33210", # 再例如 "http": "http://127.0.0.1:7890",
32
  "https": "socks5h://localhost:11284", # 再例如 "https": "http://127.0.0.1:7890",
33
  }
34
  else: