Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from http import HTTPStatus
|
|
| 4 |
import os
|
| 5 |
from dashscope import MultiModalConversation
|
| 6 |
import dashscope
|
| 7 |
-
YOUR_API_TOKEN = os.getenv('
|
| 8 |
dashscope.api_key = YOUR_API_TOKEN
|
| 9 |
|
| 10 |
def add_text(chatbot, task_history, input):
|
|
|
|
| 4 |
import os
|
| 5 |
from dashscope import MultiModalConversation
|
| 6 |
import dashscope
|
| 7 |
+
YOUR_API_TOKEN = os.getenv('HF_TOKEN')
|
| 8 |
dashscope.api_key = YOUR_API_TOKEN
|
| 9 |
|
| 10 |
def add_text(chatbot, task_history, input):
|