sharktide commited on
Commit
ceff2bf
·
verified ·
1 Parent(s): 7870070

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -908,7 +908,6 @@ async def genvideo_airforce(
908
  "duration": duration,
909
  "aspectRatio": pollinations_ratio,
910
  "seed": -1,
911
- "key": PKEY,
912
  }
913
 
914
  if image_urls:
@@ -921,6 +920,7 @@ async def genvideo_airforce(
921
  url = f"https://gen.pollinations.ai/image/{encoded_prompt}?{query_string}"
922
 
923
  print(f"[VIDEO GEN] Pollinations URL: {url}")
 
924
 
925
  async with httpx.AsyncClient(timeout=600) as client:
926
  resp = await client.get(url)
 
908
  "duration": duration,
909
  "aspectRatio": pollinations_ratio,
910
  "seed": -1,
 
911
  }
912
 
913
  if image_urls:
 
920
  url = f"https://gen.pollinations.ai/image/{encoded_prompt}?{query_string}"
921
 
922
  print(f"[VIDEO GEN] Pollinations URL: {url}")
923
+ url = url + f"&key={PKEY}"
924
 
925
  async with httpx.AsyncClient(timeout=600) as client:
926
  resp = await client.get(url)