Spaces:
Running on Zero
Running on Zero
Commit History
-
Postroll Q&A: re-anchor mailed prompts on the last frame (a frameless prompt splice parks the model on its turn-opening <|silence|>); never let session.close() skip the mailbox cleanup. Running
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>fe86be8
-
Scrollbars: thumb appears on rail-strip hover (no drawn rail), driven by a page script + scrollbar-color; covers chat and raw views.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>764afa4 -
Bubbles: per-frame <|response|> re-emissions no longer break the flowing utterance.
The real model re-emits its response marker every frame while narrating one continuous sentence; treating that as a round close chopped chat into one-bubble-per-second and bypassed the sentence segmentation. The parser now emits ("round_break") for a marker arriving mid-narration — a raw-view round boundary only; chat bubbles close solely on sentence punctuation / the token cap / a real round end (silence or <|round_end|>). Every closed bubble is stamped with the video timestamp of its close. Input bar scrolls long text with no visible scrollbar. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>67f8738 -
Input bar: vertically center the single-line text/placeholder (13+20+13 in the 46px bar).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>611f764 -
Status badge at media top-left, sentence-segmented chat bubbles, raw autoscroll.
- The transient stream status (Observing/Live t=… frames, Going live, Stream ended) moved out of the chat into a pill badge overlaid at the media stage's top-left; cleared when the session ends. - Chat bubbles now segment by sentence: close at ending punctuation (。!?… . ! ? with decimal/abbreviation lookahead and trailing-quote capture), cap at ~64 tokens cutting at the punctuation nearest the cap, hard cut as a last resort. The raw view keeps whole model rounds. - Raw event view auto-scrolls to the newest entry while streaming, unless the user has scrolled up to read. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>7c2c64f -
gradio 6: api_name=False -> api_visibility=private (False leaked as a literal /False endpoint).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>8618dc9
-
Live demo: camera release fix, clear-messages flow, EN/中文 switch, plain status bubbles, raw round text.
- Camera: watcher hold (with 5s expiry) prevents re-acquiring the webcam in the gap before the server hides the stage; mode-switch into camera never holds. All #live-cam video tracks are stopped on clear/mode-switch. - Console: after a session ends the button row shows "Clear messages" (chat is preserved) and only returns to "Start session" once wiped; a .then() reconciliation guards against the generator's last yield being dropped client-side when a prompt submit interleaves with the stream. - Header: EN/中文 switch button next to the Model Card | GitHub links; radios use (label, value) choices so labels swap without firing events. - Status + session-end bubbles are plain chat messages (no metadata tag). - Raw view: rounds stream their text live via a rolling event; parser opens rounds on the real model's <|response|> and closes them when silence resumes, deduping <|round_start|><|response|> pairs. - Message stage pinned to a fixed height — chat scrolls instead of growin…6aca93f -
UI: segmented half-width toggles, mirrored columns, aligned console row; drop Examples.
- Media-source and Chat/Raw switchers: half-width segmented bars, centered text, no radio dot (yellow = on, black = off). - Right column mirrors the left (group with toggle bar + stage, bottom row strictly aligned: clear-media / prompt box / start btn share one height). - Prompt box: bare input with the send button inside its right edge. - Examples removed for the live demo. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>c1a900b
-
Session start: wait out a lingering realtime loop (retry ~10s) and surface start failures instead of hanging
Verified signature198db79 -
Scrollbars: transparent, hover-reveal thumb only, no rail/arrow buttons (webkit + Firefox fallback)
Verified signaturef1f0758
-
Clear media / mode switch fully releases the live camera (stop stream + end tracks)
Verified signature02c5f56 -
Live camera: auto-start feed (no record/stop controls), session-gated frame mailing; fix trailing-edge UI flush with idle ticks
Verified signaturead81811 -
Stretch media widget (not hint) to fill stage; MOSS_MODEL_ID env override for local deploys
Verified signature997e329 -
Align clear-media with composer baseline (equal-height flex); fix dark-mode example chip text color
Verified signature88542ef -
Unified single media block (upload | LIVE camera feed via frame mailbox), column alignment, bare-GPU-box support (optional spaces import)
Verified signatureaee1fd9 -
RoundParser: strip unknown control tokens (e.g. <|response|>) from chat text, log in raw view
Verified signature8c86fcb -
Realtime session demo: unified media stage, live chat console, mid-stream prompts via mailbox, MCP analyze tool
Verified signaturec54f29e -
initial commit
Verified signatureb6b364b