Spaces:
Running
Running
Update config.py
Browse files
config.py
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
"""
|
9 |
|
10 |
# [step 1]>> API_KEY = "sk-123456789xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx123456789"。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
|
11 |
-
API_KEY = "
|
12 |
|
13 |
|
14 |
# [step 1]>> API_KEY = "sk-123456789xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx123456789"。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
|
@@ -28,8 +28,8 @@ if USE_PROXY:
|
|
28 |
"""
|
29 |
proxies = {
|
30 |
# [协议]:// [地址] :[端口]
|
31 |
-
"http": "
|
32 |
-
"https": "
|
33 |
}
|
34 |
else:
|
35 |
proxies = None
|
|
|
8 |
"""
|
9 |
|
10 |
# [step 1]>> API_KEY = "sk-123456789xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx123456789"。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
|
11 |
+
API_KEY = "sk-proj-9vb3tiRohtvIzLHTwL9CT3BlbkFJzQYv3ni8o1k1MNuGMIA5" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey3,azure-apikey4"
|
12 |
|
13 |
|
14 |
# [step 1]>> API_KEY = "sk-123456789xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx123456789"。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
|
|
|
28 |
"""
|
29 |
proxies = {
|
30 |
# [协议]:// [地址] :[端口]
|
31 |
+
"http": "127.0.0.1:12356", # 再例如 "http": "http://127.0.0.1:7890",
|
32 |
+
"https": "127.0.0.1:12356", # 再例如 "https": "http://127.0.0.1:7890",
|
33 |
}
|
34 |
else:
|
35 |
proxies = None
|