Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import dashscope
|
|
| 5 |
from dashscope import Generation
|
| 6 |
|
| 7 |
# Set up the API key for Dashscope
|
| 8 |
-
YOUR_API_TOKEN = os.getenv('
|
| 9 |
dashscope.api_key = YOUR_API_TOKEN
|
| 10 |
|
| 11 |
app = FastAPI()
|
|
|
|
| 5 |
from dashscope import Generation
|
| 6 |
|
| 7 |
# Set up the API key for Dashscope
|
| 8 |
+
YOUR_API_TOKEN = os.getenv('YOUR_API')
|
| 9 |
dashscope.api_key = YOUR_API_TOKEN
|
| 10 |
|
| 11 |
app = FastAPI()
|