Ufoptg commited on
Commit
e95e6ac
·
verified ·
1 Parent(s): 782646a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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 BingImages.images.generate(prompt=query, model="dall-e-3")
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=item.prompt, model="dall-e-3")
604
  paths = []
605
  base64_images = []
606