fb700 commited on
Commit
1158153
1 Parent(s): 29bac6f

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +1 -1
config.py CHANGED
@@ -2,7 +2,7 @@ import os
2
 
3
  # [step 1]>> 例如: API_KEY = "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" (此key无效)
4
  #API_KEY = "" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey1,fkxxxx-api2dkey2"
5
- API_KEY =os.environ.get(API_KEY)
6
  # [step 2]>> 改为True应用代理,如果直接在海外服务器部署,此处不修改
7
  USE_PROXY = False
8
  if USE_PROXY:
 
2
 
3
  # [step 1]>> 例如: API_KEY = "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" (此key无效)
4
  #API_KEY = "" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey1,fkxxxx-api2dkey2"
5
+ API_KEY =os.environ.get("API_KEY")
6
  # [step 2]>> 改为True应用代理,如果直接在海外服务器部署,此处不修改
7
  USE_PROXY = False
8
  if USE_PROXY: