Spaces:
Running
Error `coqui/xtts`
I keep getting the error above when trying to synthesize.
Wish I could give you clarification.
For Zero-GPU spaces it is most often the running out of computing units. For the coqui Space, it is 429 TooManyRequests
error, hidden in a Gradio fatal error:
https://github.com/gradio-app/gradio/issues/9683
Strangest part is that even after some times passes, even a rarely used Space still gives the 429.
It could be because I contact two Spaces too fast. I'll try to add a few second delay between the two requests. Here:
https://huggingface.co./spaces/Pendrokar/TTS-Spaces-Arena/blob/main/app.py#L1100-L1104
Though every restart clears the cached audio pairs, making it worse for visitors.
It could be because I contact two Spaces too fast. I'll try to add a few second delay between the two requests.
Yeah, no dice. Even with a 5 second delay, it seems to still hit some multi-request limit.
fishaudio/fish-speech-1 coqui/xtts
Sending models fishaudio/fish-speech-1 and coqui/xtts to API
Loaded as API: https://fishaudio-fish-speech-1.hf.space β
fishaudio/fish-speech-1: Default inputs overridden by Arena
fishaudio/fish-speech-1: Sending request to HF Space
Loaded as API: https://coqui-xtts.hf.space β
AttributeError("'Client' object has no attribute 'src_prefixed'")
coqui/xtts: Unable to call API (attempt: 1)
Done with fishaudio/fish-speech-1
Fish Speech did not finish within a 5 second timeframe and HF blocked the request to XTTS.
The only safe method may be to not use multi-threading => longer wait time for visitors, but at least less failures.
Multithreading disabled, stability increased with increased processing time sacrifice.
@cfahlgren1
a new stern message received from the coqui/xTTS Space:We had to rate limit you. If you think it's an error, send us an email.
As an HF Staff member. If you have suggestions, I would gladly hear them out.
There is also the fact that I've increased the likelihood of xTTS being picked.
https://huggingface.co./posts/Pendrokar/552560958530464
Hmm, it looks like the gradio issue was fixed. I am not super familiar with the internals of gradios but I would ask @abidlabs
Upgraded Gradio, at least now the error message is more clear. I also switched the HF token, maybe now it will be blacklisted less.