Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,8 +14,7 @@ import modelscope_studio.components.base as ms
|
|
| 14 |
import modelscope_studio.components.legacy as legacy
|
| 15 |
import modelscope_studio.components.antd as antd
|
| 16 |
from config import DEMO_LIST, SystemPrompt
|
| 17 |
-
|
| 18 |
-
YOUR_API_TOKEN = os.getenv(KEY)
|
| 19 |
dashscope.api_key = YOUR_API_TOKEN
|
| 20 |
|
| 21 |
History = List[Tuple[str, str]]
|
|
|
|
| 14 |
import modelscope_studio.components.legacy as legacy
|
| 15 |
import modelscope_studio.components.antd as antd
|
| 16 |
from config import DEMO_LIST, SystemPrompt
|
| 17 |
+
YOUR_API_TOKEN = os.getenv("test")
|
|
|
|
| 18 |
dashscope.api_key = YOUR_API_TOKEN
|
| 19 |
|
| 20 |
History = List[Tuple[str, str]]
|