Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ from typing import List, Optional, Tuple, Dict
|
|
5 |
import dashscope
|
6 |
from dashscope import Generation
|
7 |
from dashscope.api_entities.dashscope_response import Role
|
|
|
|
|
8 |
|
9 |
# Configuration
|
10 |
default_system = 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.'
|
|
|
5 |
import dashscope
|
6 |
from dashscope import Generation
|
7 |
from dashscope.api_entities.dashscope_response import Role
|
8 |
+
import requests # <-- Add this line to import the requests library
|
9 |
+
|
10 |
|
11 |
# Configuration
|
12 |
default_system = 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.'
|