Spaces:
Running
Running
Commit History
-
Stop paying twice, measure every run, and make the picture, voice and props hold up
Spend and reliability: identical paid requests reuse the running job, every paid button shows a price and asks first, uploads no longer block the server, job status comes from the database, and the synchronous video endpoint is gone. Measurement: every model call logs tokens and cost, generations and renders carry a cost, and an eval runner replays saved briefs without touching the DB. Platform: vector search over the whole library (pgvector HNSW), one image that runs as api, worker or both, persistent Redis, TLS for external Redis, and a production guard that refuses local media. Scripts and judging: a hard spoken-word budget, no fragment sentences in continuous mode, a fixed Gemini judge on every run, ad-policy checks, and hooks drawn from the brain or the research with no opener steering. Video: a render critic that reviews every clip and re-renders the bad ones, takes planned to land within 10% of target, portraits checked before any paid animation (no more grid presenters), th…13354e2
-
Make the tabs, disclosures and controls reachable by keyboard
Measured the palette first: it is in good shape (chalk 14.6:1 on slate, gaffer 8.5, viewfinder 6.8), and focus rings, reduced-motion and press feedback were already there. What was missing was structural. - The three view tabs were plain buttons: nothing announced them as a set, nothing said which was selected, and Tab walked through all three before reaching the panel. Now a real ARIA tablist with roving tabindex, so the strip is ONE tab stop and left/right moves between tabs. - Disclosure buttons carried no aria-expanded — the +/- glyph was the only state signal, invisible to a screen reader. The glyphs are aria-hidden now that the button announces itself. - No landmarks at all, so assistive tech had no way to skip the header into the content. Added <main> and a skip link. - The editor's 3x3 position grid conveyed the selected cell by fill colour alone; it now carries aria-pressed and a real label per cell. - A 32px min-height floor on buttons: the compact uppercase la…19955ca
-
Size burned-in text against a reference frame; animate its arrival
The size bug was not a bad default. Seedance renders 720x1280 and stitch_clips scales to HEIGHT 720, which on portrait footage produces a 406px-wide output — so the default 52 "px" caption was 13% of the frame width, wrapping a four-word cue into a wall of giant stacked text. Sizes are now quoted against a 1080-wide reference frame and scaled to whatever the real frame is, so one number means the same thing everywhere: measured at ~4.9% of frame width across 1080/720/540/406, and a cue box that went from overflowing to 60% of the width. frontend/src/components/editor/preview.ts mirrors the same reference width, and deliberately keys off the PREVIEW's width rather than the source clip's: the editor previews 720-wide clips while the export is 406 wide, so anything derived from the source would disagree with the finished video. overlayStyle's `scale` argument is gone — it was that source-derived number. Animated text: TEXT_ANIMATIONS gives each box an alpha ramp in and out — `fade` (0.2…ea3084e
-
Deploy Creative Brain to Hugging Face Spaces (Docker)
Single-container Dockerfile (frontend build + ffmpeg + redis + celery + API on 7860), FastAPI serves the SPA, README front-matter, safe .gitignore. Runtime media (generated_videos/) is excluded — the app regenerates it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>b327bf6