Spaces:
Running on Zero
Running on Zero
Commit History
8 days ago
-
fix(app): tell signed-out visitors to sign in when ZeroGPU refuses them Running
Unverified signatureMost refusals on the Space come from callers ZeroGPU could not identify, and Hugging Face gives them too little GPU time to run this app at all. The app sent them the wrong way: a runs-limit refusal showed "Daily GPU quota used up ... upgrade Pro", and "larger than the maximum allowed" showed "Try Fast preset or a shorter video", which never helps because the GPU ask does not depend on the video length. _classify now returns unlogged for any text spaces only gives an unidentified caller (the token hint, "exceeded your ZeroGPU quota" with no account word, the older "Unlogged user"), whatever the title, and for the runs-limit sentence unless an API caller's suffix shows a free or PRO account. spaces 0.51.1 picks that sentence by res.wait == 0 for any caller; every one seen on the Space carried the signed-out suffix, and none was seen without one, so the bare sentence is treated as signed out. The checks come before illegal_duration, after oom and expired_token. Free and PRO quota refusa…29c75c8
-
fix(backend): surface a workflow that finishes without a video
Unverified signatureComfyUI does not raise into submit()'s worker when a node dies mid-graph. The live log shows "FileNotFoundError: Model in folder 'latent_upscale_models' ... not found" and then "[backend] workflow done; video_path=''": _execute_workflow returned normally, _newest_recent_video found nothing, and the run ended in OutputEvent(video_path='') — an output, not an error. The UI cleared its status and reset with no message, which is why a week of failed generations looked like "it just stops and goes back to where you start". An empty path now pushes ErrorEvent(category="no_output"), and _FRIENDLY_ERRORS gains a matching entry so the card names the likely cause instead of falling through to "Something went wrong". The _newest_recent_video fallback still runs first; only a genuinely empty result errors.9a69a4a