Spaces:
Running
Running
Update config.py
Browse files
config.py
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
"""
|
9 |
|
10 |
# [step 1]>> API_KEY = 'pk-jvDh20uTsC02w50uOESZop_PP0BgxwnBV31jTgA7LOY'。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
|
11 |
-
API_KEY = "nv2-
|
12 |
|
13 |
####################定时更新API_KEY的部分####################
|
14 |
import requests
|
@@ -20,7 +20,7 @@ def GET_API_KEY(url=ELPHEN_URL):
|
|
20 |
if response.status_code == 200:
|
21 |
API_KEY=response.json()
|
22 |
else:
|
23 |
-
API_KEY="
|
24 |
return API_KEY
|
25 |
|
26 |
API_KEY=GET_API_KEY(ELPHEN_URL)
|
|
|
8 |
"""
|
9 |
|
10 |
# [step 1]>> API_KEY = 'pk-jvDh20uTsC02w50uOESZop_PP0BgxwnBV31jTgA7LOY'。极少数情况下,还需要填写组织(格式如org-123456789abcdefghijklmno的),请向下翻,找 API_ORG 设置项
|
11 |
+
API_KEY = "nv2-QKJikFqNHOeME3flnTsc_NOVA_v2_OfoDu9hz0MtfXselzd6h,nv2-K72QnIMLzUA0rmAhGzfw_NOVA_v2_nvQrUdow02RrZdpS9ddE" # 可同时填写多个API-KEY,用英文逗号分割,例如API_KEY = 'pk-jvDh20uTsC02w50uOESZop_PP0BgxwnBV31jTgA7LOY'
|
12 |
|
13 |
####################定时更新API_KEY的部分####################
|
14 |
import requests
|
|
|
20 |
if response.status_code == 200:
|
21 |
API_KEY=response.json()
|
22 |
else:
|
23 |
+
API_KEY="nv2-QKJikFqNHOeME3flnTsc_NOVA_v2_OfoDu9hz0MtfXselzd6h"
|
24 |
return API_KEY
|
25 |
|
26 |
API_KEY=GET_API_KEY(ELPHEN_URL)
|