sharktide commited on
Commit
babfb85
·
verified ·
1 Parent(s): 8f4a090

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -310,7 +310,7 @@ async def generate_image(prompt: str, request: Request):
310
 
311
  print(f"[IMAGE GEN] Routing to model: {chosen_model}")
312
 
313
- url = f"https://gen.pollinations.ai/image/{prompt}?model={chosen_model}&width=1920&height=1920&key={PKEY}"
314
 
315
  async with httpx.AsyncClient() as client:
316
  response = await client.get(url)
 
310
 
311
  print(f"[IMAGE GEN] Routing to model: {chosen_model}")
312
 
313
+ url = f"https://gen.pollinations.ai/image/{prompt}?model={chosen_model}&key={PKEY}"
314
 
315
  async with httpx.AsyncClient() as client:
316
  response = await client.get(url)