sharktide commited on
Commit
f0e91d0
·
verified ·
1 Parent(s): 70ec4e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -566,7 +566,7 @@ async def gensfx(request: Request, prompt: str = None):
566
  check_audio_rate_limit(client_ip)
567
  if prompt is None:
568
  prompt = (await request.json()).prompt
569
- url = f"https://gen.pollinations.ai/audio/{prompt}?model=elevenaudio&key={PKEY}"
570
  async with httpx.AsyncClient(timeout=None) as client:
571
  response = await client.get(url)
572
  body_text = ""
 
566
  check_audio_rate_limit(client_ip)
567
  if prompt is None:
568
  prompt = (await request.json()).prompt
569
+ url = f"https://gen.pollinations.ai/audio/{prompt}?model=elevenmusic&key={PKEY}"
570
  async with httpx.AsyncClient(timeout=None) as client:
571
  response = await client.get(url)
572
  body_text = ""