"""Kith Local — the hand-written Today screen (no default Gradio UI). Served verbatim at "/" by gr.Server. The page records or accepts an audio file, decodes + resamples it to 16 kHz mono WAV in the browser (so the server never needs ffmpeg), then walks the loop: transcribe -> ingest (MiniCPM extraction -> SQLite) -> today feed. Layout is a responsive app-shell: a left rail (capture + conversation history) beside the Today feed on desktop, collapsing to a single column on phones. Same markup, re-mapped via CSS grid areas at one breakpoint. """ FRONTEND_HTML = r""" Kith — for you today
Kith

For you today

Working on this device…

Preparing audio
Listening — Cohere Transcribe (2B)
Remembering — MiniCPM 4.1-8B finds the people & promises
Composing your Today feed

What I heard

Full transcript

"""