wzc commited on
Commit
f2b12e3
1 Parent(s): 2a6e50d

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +3 -3
config.py CHANGED
@@ -1,12 +1,12 @@
1
  # API_KEY = "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" 此key无效
2
- API_KEY = "sk-此处填API秘钥"
3
  API_URL = "https://api.openai.com/v1/chat/completions"
4
 
5
  # 改为True应用代理
6
- USE_PROXY = False
7
  if USE_PROXY:
8
  # 代理网络的地址,打开你的科学上网软件查看代理的协议(socks5/http)、地址(localhost)和端口(11284)
9
- proxies = { "http": "socks5h://localhost:11284", "https": "socks5h://localhost:11284", }
10
  print('网络代理状态:运行。')
11
  else:
12
  proxies = None
 
1
  # API_KEY = "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" 此key无效
2
+ API_KEY = "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"
3
  API_URL = "https://api.openai.com/v1/chat/completions"
4
 
5
  # 改为True应用代理
6
+ USE_PROXY = True
7
  if USE_PROXY:
8
  # 代理网络的地址,打开你的科学上网软件查看代理的协议(socks5/http)、地址(localhost)和端口(11284)
9
+ proxies = { "http": "socks5h://localhost:10808", "https": "socks5h://localhost:10808", }
10
  print('网络代理状态:运行。')
11
  else:
12
  proxies = None