Spaces:
Running
Running
Change model from ElevenMusic --> acestep to align with pollinations.ai requirements
Browse files
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=
|
| 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 = ""
|