Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -600,7 +600,7 @@ async def bing_dalle(item: BingDalle):
|
|
| 600 |
raise HTTPException(status_code=500, detail="Invalid cookie string, check your cookie string and try again")
|
| 601 |
|
| 602 |
try:
|
| 603 |
-
response = await
|
| 604 |
paths = []
|
| 605 |
base64_images = []
|
| 606 |
|
|
|
|
| 600 |
raise HTTPException(status_code=500, detail="Invalid cookie string, check your cookie string and try again")
|
| 601 |
|
| 602 |
try:
|
| 603 |
+
response = await BingImages.images.generate(prompt=query, model="dall-e-3")
|
| 604 |
paths = []
|
| 605 |
base64_images = []
|
| 606 |
|