Spaces:
Sleeping
Sleeping
Update multi_agents_api_web_demo.py
Browse files
multi_agents_api_web_demo.py
CHANGED
@@ -13,7 +13,7 @@ from lagent.actions import ArxivSearch
|
|
13 |
from lagent.hooks import Hook
|
14 |
from lagent.llms import GPTAPI
|
15 |
|
16 |
-
YOUR_TOKEN_HERE =
|
17 |
if not YOUR_TOKEN_HERE:
|
18 |
raise EnvironmentError("未找到环境变量 'token',请设置后再运行程序。")
|
19 |
|
|
|
13 |
from lagent.hooks import Hook
|
14 |
from lagent.llms import GPTAPI
|
15 |
|
16 |
+
YOUR_TOKEN_HERE = st.secrets["puyu_token"]
|
17 |
if not YOUR_TOKEN_HERE:
|
18 |
raise EnvironmentError("未找到环境变量 'token',请设置后再运行程序。")
|
19 |
|