Spaces:
Running on Zero
Running on Zero
Commit History
5 days ago
-
Result downloads show their progress and recover from a stalled connection: after the GPU's last stage ("done") the page fetched the clip and draft files with no timeout and nothing on screen, so a download that stopped sending bytes sat on "done" for good after the server had delivered (2026-11-22). Each file now reports "downloading the clip/draft" with MB and a bar, is dropped after 30 s without data and tried again (three tries, then the DOWNLOAD_FAILED card, whose Try again only downloads), and Stop waiting cancels it Running
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>6d2b3cd
15 days ago
-
A failed result download names the browser's own reason (error name and message) on the card and in the console, beside the storage numbers: on a phone with 10 GB free, downloads still failed after about five videos
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>09718ce
17 days ago
-
A quota refusal that names its numbers ("146s requested vs. 65s left") says so on the page: how much the request needs, how much is left, that the whole amount must be free up front, what fits better, the reset time, and for a guest the sign-in hint
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>ebe4891 -
Guests can encode again: when the conditioner refuses the visitor for quota or the anonymous run limit (it books 90 s for an encode of a few), the encode is redone on this Space's shared allowance, as every encode was before 06780d5. A guest's spent quota ("... Try again in HH:MM:SS. Authenticate ...") now reaches the page as QUOTA [guest] with its reset time and a sign-in hint instead of NOT_SIGNED_IN with useless retries; the bare run limit card says it may be the guest limit
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>e3d0b91
18 days ago
-
Before every GPU request the page asks the Hugging Face page for a pass and drops it, then waits 0.5 s (1.5 s before a retry): the first pass after a pause named no account (23:56:48 refused anonymous, its retry at 23:56:52 went out signed in). The page's X-ZeroGPU-* headers never reach the server - the proxy consumes them
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>ba3e8e8 -
Account pill: the page's X-ZeroGPU-Token is sealed (not a JWT), so its arrival shows as "Pass ✓" without a warning; which account it names is read on the server
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>81eb65f -
The Hugging Face page hands over X-ZeroGPU-Token and X-ZeroGPU-UUID, not X-IP-Token (that one the proxy mints, with no account when the page's pass is missing or invalid): the account pill reads the page's token and shows its fields; the server logs whether those headers reach it and forwards them to the conditioner beside X-IP-Token
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>481e615 -
Account check: the pass header is found whatever its case, and an answer without one says which headers came
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>7b5e4d8 -
The pass's user field is an ~800-character string, not a name: the page and the log open it when it is JSON, a JWT or base64 JSON (the log shows its shape and tags the owner by the name inside); an opaque one shows as "signed in"
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>de95013 -
The page says which account Hugging Face puts into its GPU pass: on load, on returning to the tab, every 5 minutes and after a NOT_SIGNED_IN refusal it asks the Hugging Face page for a pass the way the client does before a GPU request and reads the JWT's `user`. A top-bar pill shows the account name (green) or "Anonymous" (amber, with a banner); the NOT_SIGNED_IN card says what the page sees right now. Refused requests on 2026-11-09 carried a pass with user null from a visitor who was signed in. The top bar's status text now truncates instead of widening the page on a phone
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>04c2b8f -
A video off the Space's grid (sides not multiples of 32, not 24 fps - a phone, a messenger, another tool) is converted on load instead of refused: new CPU endpoint `conform` crops the sides to multiples of 32 (centred, at most 31 px), sets 24 fps by keeping whole frames, applies a phone's rotation and re-encodes once at CRF 17; Take's Continue a video, Upscale's file and the seam file all use it. Up to 180 s of video
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>ecc38e7 -
Take segments can end on a last frame - a picture, or a frame picked from an mp4 - and a video can grow from the inside: a video segment can be cut at a frame (the take goes on from there), and after a segment that ends on a frame of an mp4 the rest of that mp4 joins as the next segment. New CPU endpoint `trim` cuts frame-exact, re-encoding once and keeping the clip's record (its AAC marked as FFmpeg-primed, so `_decode_clip` no longer cuts priming twice). Segment keyframes now go into take backups
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>3f728e8
19 days ago
-
A GPU request that reached ZeroGPU without the visitor's token is NOT_SIGNED_IN, not 'daily quota used up': retried automatically (refused before any GPU time), explained if it repeats, logged per request, and a page opened outside huggingface.co says it can't pass the sign-in
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>3256ce3 -
Take only generates, Upscale only upscales (with a seam field: Auto / Choose a clip or mp4 / None), Session is its own sheet where anything can be deleted; join scales a draft joined as it is up to its upscaled neighbours
Alexander +1: Claude Opus 5.5Designer's pass over e679bc8 (CHANGES in the brief's terms): Area sets Draft or Final 1 MP, a take starts from a prompt, a draft file, any mp4 or a Session pick; "Upscale this take" opens Upscale with the whole take; one sessionPicker everywhere; deleting a segment cuts the take after a confirm that names it. Storage, backups, lost-file recovery and the api.js retries are untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>df83d07
20 days ago
-
Result files download with three tries, and a job that finished but did not download is kept: Try again only downloads it instead of paying for the GPU again
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>f5620c1 -
A bare 'Failed to fetch' (Space not answering, e.g. restarting) is reported as a network error and the client reconnects on the next try
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>180ef26 -
Drop the Space-wide GPU lock: queued jobs outlived the visitor's ZeroGPU proxy token; an expired token is resent automatically (nothing is charged), else asks for a reload
Alexander +1: Claude Opus 5.5Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>7719232 -
Add Pika's H3 Flex 4-step turbo LoRA to the catalog, full and lite
Alexander +1: Claude Opus 5.5Pika-Labs/Pika-H3-Flex-Turbo-LoRA, the FL2VA files (text and first/last-frame video): Flex fused with lightx2v's 4-step v1.2 turbo into one plain LoRA. Strength 1.0, exactly 4 steps. The full file is 3.9 GB and is booked a load time like the Regenerate refiner; the rank-32 lite file is 310 MB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>54d496f -
Serve the new HTML front end from the Space root over Gradio's Server mode
Alexander +1: Claude Opus 5.5web/ is the designer's page (plain HTML/CSS/JS). app.py is now a gr.Server: the page and its scripts at the root, and JSON endpoints for it - status, estimate, inspect_file, add_lora_file, prepare_lora, generate and refine (streaming progress, then the result), join, train_begin/step/end/resume. Uploaded paths are checked to come from Gradio's upload dir or the outputs. Errors are gr.Error("CODE: text") for the page to map. api.js talks to it through @gradio/client 2.7.1, which carries the ZeroGPU handshake with the Hugging Face page, loaded at once rather than on first use. A LoRA file goes up once per boot. Its canvas, frame and upscale helpers now match canvas_for, snap_frames and upscaled_canvas (checked on 36 cases). The Blocks UI is kept as classic_app.py; point app_file at it to go back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>574db59