sharktide commited on
Commit
5ea288b
·
verified ·
1 Parent(s): bc17857

Change model from ElevenMusic --> acestep to align with pollinations.ai requirements

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -587,7 +587,7 @@ async def gensfx(
587
  prompt, MAX_MEDIA_PROMPT_CHARS, MAX_MEDIA_PROMPT_BYTES, "Audio prompt"
588
  )
589
  await check_audio_rate_limit(request, authorization, x_client_id)
590
- url = f"https://gen.pollinations.ai/audio/{prompt}?model=elevenmusic&key={PKEY}"
591
  async with httpx.AsyncClient(timeout=None) as client:
592
  response = await client.get(url)
593
  body_text = ""
 
587
  prompt, MAX_MEDIA_PROMPT_CHARS, MAX_MEDIA_PROMPT_BYTES, "Audio prompt"
588
  )
589
  await check_audio_rate_limit(request, authorization, x_client_id)
590
+ url = f"https://gen.pollinations.ai/audio/{prompt}?model=acestep&key={PKEY}"
591
  async with httpx.AsyncClient(timeout=None) as client:
592
  response = await client.get(url)
593
  body_text = ""