Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,8 @@ import modelscope_studio.components.legacy as legacy
|
|
15 |
import modelscope_studio.components.antd as antd
|
16 |
from config import DEMO_LIST, SystemPrompt
|
17 |
|
18 |
-
|
19 |
-
dashscope.api_key =
|
20 |
|
21 |
History = List[Tuple[str, str]]
|
22 |
Messages = List[Dict[str, str]]
|
|
|
15 |
import modelscope_studio.components.antd as antd
|
16 |
from config import DEMO_LIST, SystemPrompt
|
17 |
|
18 |
+
TOKEN = os.getenv('TOKEN')
|
19 |
+
dashscope.api_key = TOKEN
|
20 |
|
21 |
History = List[Tuple[str, str]]
|
22 |
Messages = List[Dict[str, str]]
|