arshadrana commited on
Commit
633c26d
·
verified ·
1 Parent(s): 72f98bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  from fastapi import FastAPI, HTTPException
3
  from pydantic import BaseModel
4
  import dashscope
5
- from dashscope import Generation
6
 
7
  # Set up the API key for Dashscope
8
  headers = {"Authorization": f"Bearer {os.getenv('HF_TOKEN')}"}
 
2
  from fastapi import FastAPI, HTTPException
3
  from pydantic import BaseModel
4
  import dashscope
5
+ from dashscope import MultiModalConversation, Generation
6
 
7
  # Set up the API key for Dashscope
8
  headers = {"Authorization": f"Bearer {os.getenv('HF_TOKEN')}"}