Spaces:
Runtime error
Runtime error
Li
commited on
Commit
·
efff8f4
1
Parent(s):
91523c0
Update config.py
Browse files
config.py
CHANGED
@@ -17,11 +17,6 @@ API_KEY = "此处填API密钥" # 可同时填写多个API-KEY,用英文逗
|
|
17 |
API_KEY = "此处填API密钥" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey3,azure-apikey4"
|
18 |
|
19 |
|
20 |
-
API_KEY = 'fk-qMKmDujDVSQIMgJxJywZ_rLVKU8beJ8x920_-fkMJuQ'
|
21 |
-
CUSTOM_API_KEY_PATTERN = "fk[a-zA-Z0-9]{6}-[a-zA-Z0-9]{32}$"
|
22 |
-
API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions":"https://openai.api2d.net/v1/chat/completions"}
|
23 |
-
|
24 |
-
|
25 |
# [step 2]>> 改为True应用代理,如果直接在海外服务器部署,此处不修改;如果使用本地或无地域限制的大模型时,此处也不需要修改
|
26 |
USE_PROXY = False
|
27 |
if USE_PROXY:
|
|
|
17 |
API_KEY = "此处填API密钥" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey3,azure-apikey4"
|
18 |
|
19 |
|
|
|
|
|
|
|
|
|
|
|
20 |
# [step 2]>> 改为True应用代理,如果直接在海外服务器部署,此处不修改;如果使用本地或无地域限制的大模型时,此处也不需要修改
|
21 |
USE_PROXY = False
|
22 |
if USE_PROXY:
|