Spaces:
Running
Running
Update config.py
#397
by
KrisLydia
- opened
config.py
CHANGED
@@ -7,11 +7,11 @@
|
|
7 |
Configuration reading priority: environment variable > config_private.py > config.py
|
8 |
"""
|
9 |
|
10 |
-
# [step 1]>> API_KEY = "sk-
|
11 |
API_KEY = "此处填API密钥" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey3,azure-apikey4"
|
12 |
|
13 |
|
14 |
-
# [step 1]>> API_KEY = "sk-
|
15 |
API_KEY = "此处填API密钥" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey3,azure-apikey4"
|
16 |
|
17 |
|
@@ -28,8 +28,8 @@ if USE_PROXY:
|
|
28 |
"""
|
29 |
proxies = {
|
30 |
# [协议]:// [地址] :[端口]
|
31 |
-
|
32 |
-
|
33 |
}
|
34 |
else:
|
35 |
proxies = None
|
|
|
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 = "此处填API密钥" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey3,azure-apikey4"
|
12 |
|
13 |
|
14 |
+
# [step 1]>> API_KEY = "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"。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
|
15 |
API_KEY = "此处填API密钥" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey3,azure-apikey4"
|
16 |
|
17 |
|
|
|
28 |
"""
|
29 |
proxies = {
|
30 |
# [协议]:// [地址] :[端口]
|
31 |
+
"http": "http://127.0.0.1:58309",
|
32 |
+
"https": "http://localhost:58309",
|
33 |
}
|
34 |
else:
|
35 |
proxies = None
|