Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ from typing import List, Optional, Tuple, Dict
|
|
9 |
from urllib.error import HTTPError
|
10 |
default_system = 'You are a helpful assistant.'
|
11 |
|
12 |
-
YOUR_API_TOKEN = os.getenv('YOUR_API_TOKEN')
|
13 |
-
dashscope.api_key = YOUR_API_TOKEN
|
14 |
|
15 |
History = List[Tuple[str, str]]
|
16 |
Messages = List[Dict[str, str]]
|
|
|
9 |
from urllib.error import HTTPError
|
10 |
default_system = 'You are a helpful assistant.'
|
11 |
|
12 |
+
#YOUR_API_TOKEN = os.getenv('YOUR_API_TOKEN')
|
13 |
+
#dashscope.api_key = YOUR_API_TOKEN
|
14 |
|
15 |
History = List[Tuple[str, str]]
|
16 |
Messages = List[Dict[str, str]]
|