Update config.py

#152
by xlsong79 - opened
Files changed (1) hide show
  1. config.py +3 -3
config.py CHANGED
@@ -1,5 +1,5 @@
1
  # [step 1]>> 例如: API_KEY = "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" (此key无效)
2
- API_KEY = "sk-此处填API密钥" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey1,fkxxxx-api2dkey2"
3
 
4
 
5
  # [step 2]>> 改为True应用代理,如果直接在海外服务器部署,此处不修改
@@ -14,8 +14,8 @@ if USE_PROXY:
14
  # 代理网络的地址,打开你的*学*网软件查看代理的协议(socks5/http)、地址(localhost)和端口(11284)
15
  proxies = {
16
  # [协议]:// [地址] :[端口]
17
- "http": "socks5h://localhost:11284", # 再例如 "http": "http://127.0.0.1:7890",
18
- "https": "socks5h://localhost:11284", # 再例如 "https": "http://127.0.0.1:7890",
19
  }
20
  else:
21
  proxies = None
 
1
  # [step 1]>> 例如: API_KEY = "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" (此key无效)
2
+ API_KEY = "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" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey1,fkxxxx-api2dkey2"
3
 
4
 
5
  # [step 2]>> 改为True应用代理,如果直接在海外服务器部署,此处不修改
 
14
  # 代理网络的地址,打开你的*学*网软件查看代理的协议(socks5/http)、地址(localhost)和端口(11284)
15
  proxies = {
16
  # [协议]:// [地址] :[端口]
17
+ "http": "http://192.168.3.55:2020", # 再例如 "http": "http://127.0.0.1:7890",
18
+ "https": "http://192.168.3.55:2020", # 再例如 "https": "http://127.0.0.1:7890",
19
  }
20
  else:
21
  proxies = None