Spaces:
Running on Zero
Running on Zero
Harden composer + share video against the failure modes in production logs
#8
by multimodalart HF Staff - opened
From the new per-attempt logs:
- 429s on baseten dominate and the fallbacks absorb them; added a second pass over the provider chain (3s apart) so transient all-provider 429 bursts recover instead of erroring.
- KeyError 'global_metadata': valid-JSON-wrong-shape replies slipped through; required keys are now validated inside the retry loop (per call site) so bad shapes fail over like any other bad reply.
- render_video: multiline titles crashed PIL textlength (titles collapsed to one line) and the cached wav can vanish when the visitor leaves (now returns gr.skip()).
- Silenced the empty-FFT-band NaN warning spam that was flooding the logs.
multimodalart changed pull request status to merged