yesirecarolinasoto commited on
Commit
96998ea
·
verified ·
1 Parent(s): aea7f9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- YOUR_API_TOKEN = os.getenv('YOUR_API_TOKEN')
19
- dashscope.api_key = YOUR_API_TOKEN
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]]