Commit History

5 days ago

  1. 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.5
    6d2b3cd

15 days ago

  1. 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.5
    09718ce

17 days ago

  1. 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.5
    ebe4891
  2. 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.5
    e3d0b91

18 days ago

  1. 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.5
    ba3e8e8
  2. 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.5
    81eb65f
  3. 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.5
    481e615
  4. Account check: the pass header is found whatever its case, and an answer without one says which headers came⁠

    Alexander +1: Claude Opus 5.5
    7b5e4d8
  5. 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.5
    de95013
  6. 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.5
    04c2b8f
  7. 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.5
    ecc38e7
  8. 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.5
    3f728e8

19 days ago

  1. 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.5
    3256ce3
  2. 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.5
    df83d07

20 days ago

  1. 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.5
    f5620c1
  2. 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.5
    180ef26
  3. 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.5
    7719232
  4. Add Pika's H3 Flex 4-step turbo LoRA to the catalog, full and lite⁠

    Alexander +1: Claude Opus 5.5
    54d496f
  5. Serve the new HTML front end from the Space root over Gradio's Server mode⁠

    Alexander +1: Claude Opus 5.5
    574db59