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
-
Ground cutaways in the real library, score every variant, filter by date, retry a failed run
B-roll grounded in catalogued footage - The second-pass cutaway call was passing evidence=None, so it wrote shots from imagination while 900+ catalogued clips sat unused. It now receives the library and is told to find the clip whose visual_description fits the line and describe THAT shot — its framing, motion, mood, subjects, and its visual_direction where present. Those clips were really filmed, so recreating one lands closer to real footage than anything invented. Variants are finished, not sketches - QA judges a script AGAINST its shot list, so a bare script cannot be scored. Each variant now gets its own visual direction, b-roll plan and QA verdict, and the list is sorted best-first — you pick by number rather than by feel. Three calls a variant, on a button you pressed. - Adopting one now re-derives the shot list and re-scores, exactly as saving a hand edit does. Without that an adopted variant kept the previous candidate's shots and a score describing a scri…7dc13d4
-
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