Spaces:
Sleeping
Sleeping
Commit History
-
Feature parity with original Blocks UI
Three additions to close gaps with the original gradio.Blocks app: 1. Microphone recording (clone mode) - The reference section now has Upload / Record tabs - Record uses MediaRecorder + getUserMedia, with a big red pulsing mic button, live time display, and a 60s cap - Stopping the recording turns it into a File the same way an upload would, so the rest of the pipeline is identical 2. Lazy example caching (like gr.Examples(cache_examples='lazy')) - On boot, the first 3 examples are pre-synthesized in the background and their audio is held in an in-memory cache - Clicking a cached chip plays the pre-built audio instantly; uncached chips synthesize on click (and then become cached) - Each chip shows a status glyph (... / ✓ / !) so you can see what's been warmed 3. Download button - Round ↓ icon next to play/stop in the transport - Downloads the current WAV with a sensible filename (gepard-<voice>-<label>.wav for cached examples, …f12cb60 -
Mobile + tablet responsive layout
Three breakpoints: 900px (tablet), 600px (phone), 380px (small phone). Phone (< 600px): - Top bar: drop the "Session" project info, keep just the brand and the Ready/Rendering status pill - Stage: tighter padding, 22px type, more vertical room - Transport: full-width skip/play buttons with 44px tap targets, voice info row hidden - Console source row stacks vertically (mode toggle full-width, voice select full-width below, Advanced toggle as its own row) - Advanced panel single-column sliders - Examples wrap above the render button; render is full-width primary CTA with a 12px vertical padding - Toast slides up from the bottom as a fixed bar so it stays visible above the on-screen keyboard Tablet (< 900px): tighter margins, 2-column advanced summary Co-Authored-By: Claude <noreply@anthropic.com>9652c03
-
Unified script stage + advanced settings + refined design language
Single-stage script editor: - The text area in the viewport doubles as both the input and the highlight-on-playback display. Placeholder shown when empty. - On focus, word highlighting clears so the user can edit freely; re-tokenizes into word spans when audio loads. - Auto-plays after render. Click the script area to edit; the highlight pauses until focus is lost. Advanced settings collapsed by default: - A summary line shows current values (Temperature 0.30, Top-K 0, etc.) in a single row, behind a chevron toggle. - Expanding reveals the sliders in a responsive grid. - Default state hides them to keep the surface calm. Render button: - Compact pill-style button with a 14px icon + label, sitting inline in the action row next to the example chips. - Dark surface (var(--text)) on white background, subtle shadow, hover lift. Design language: - Light surface (#fafafa), warm gray text, hairline borders - SF Pro / Inter type stack with refined -0.015em letter spacing on the…db8cff9 -
Replace waveform with highlighted lyrics, condense controls, drop channel strip
- Viewport output is now the LYRICS preview, not a waveform: 28pt centered text with the current word glowing amber + scaled up, past words fading to 55% opacity, upcoming words at 35%. Auto- scrolls to keep the current word in view. - Click anywhere in the lyrics viewport to seek (vertical position maps to time, like a waveform scrub). - Removed the channel strip (fader/meter/pan/mute). The audio graph and metering were tied to those controls, so the visual meter is gone with them — playback still works. - Combined the bottom 3 panels (Source+Script, Mix+Render, Channel) into ONE "Console" panel with a 2-column body: Source/Script on the left, Parameters/Library/Render on the right. - Render button is now smaller and inline at the bottom-right of the Console panel, with the toast next to it. Co-Authored-By: Claude <noreply@anthropic.com>27faf0f -
Video-studio layout: audio viewport dominates the screen
New hierarchy with the audio output as the centerpiece: - Top bar: project header (logo + "Untitled Session" + version tag) - AUDIO VIEWPORT (full-width, dominant): - Program header with red REC dot + Stage pill (Idle / Rendering / Playing / Paused / Ready / Error) - Big HH:MM:SS:FF timecode display (38pt) with Duration / SR / Ch metadata on the right - Large 220px waveform with amber playhead (arrow tip at top) - TIMELINE strip with HH:MM:SS ruler ticks and a single track containing an amber "Clip" block that fills as audio plays, plus a synced mini-playhead - Transport: round skip-back + round amber play button, with Voice / Codec info on the right - WORKSPACE (3-column below the viewport): - Source + Script (with contenteditable word highlighting) - Mix + Render (sliders, examples, Render button) - Channel (fader, meter, pan, mute) - Word-by-word highlight still tied to (currentTime/duration) - Timecode FF field computed from sub-second progress (…7b05c4f -
Pure DAW layout with word-by-word script highlight
Pure DAW: dropped the ChatGPT conversation style, back to a 3-column Track / Master / Channel Strip layout — but kept the clean dark surface, DAW-style sliders, and proper transport bar. Script editor with word-level highlight as audio plays: - Replaced the plain textarea with a contenteditable script panel - Tokenizes into per-word <span> nodes on input (whitespace preserved) - After audio loads, requestAnimationFrame loop computes the current word index from (currentTime / duration) * wordCount - The current word gets an amber background + bold; past words fade to faint. Stays in sync visually for short utterances. - Highlighting clears on stop / track-end Channel strip keeps the working fader -> GainNode, pan knob -> StereoPannerNode, and LED meter -> AnalyserNode. Co-Authored-By: Claude <noreply@anthropic.com>2c6404d -
Garageband + ChatGPT-style UI
White surface, conversational interface. Layout: - Left sidebar: voice list as horizontal track rows (Garageband-style) with avatar, voice name, and voice key tag - Center: ChatGPT-style conversation. User messages bubble on the right ("You"), assistant responses bubble on the left ("G"). Each generation shows up as an audio bubble with its own play button, waveform, time display, and click-to-seek. - Composer at the bottom: large text input that auto-resizes, with Preset/Clone toggle on the left and a gradient send button on the right. Enter to send, Shift+Enter for newline. - Right sidebar: generation parameters as ChatGPT-style sliders, plus a collapsed reference uploader for clone mode - Top bar: just the logo, nothing elseichten - Examples appear as small chips below the composer - Audio bubbles get their own waveform drawing and playback (no shared transport) Co-Authored-By: Claude <noreply@anthropic.com>fedd281 -
Prune UI to studio essentials
Dropped: - Top bar connection dot / busy indicator (state shows on the generate button itself) - "TRACK · INPUT" / "MASTER · OUTPUT" / "CHANNEL 01" subheadings - Status footer (queue / ETA / latency / codec bar at the bottom) - Live-generating animated waveform bars (the button spinner covers it) - Stop / loop transport buttons - Solo button (mute is enough) - "Library" panel for examples (moved inline under generate) - Sample-rate / channels metadata (decoding clutter) - Radial gradient body background Kept (the studio signature): - 3-column work area: Track | Master | Channel - Functional channel strip: vertical fader → GainNode, pan knob → StereoPannerNode, real LED meter via AnalyserNode - RMS waveform with click-to-seek playhead - DAW-style sliders with mono right-aligned values - Segmented mode control Co-Authored-By: Claude <noreply@anthropic.com>f108f27 -
Add professional channel strip to UI
Three-column DAW layout: Track | Master | Channel Strip. Channel strip includes real pro-studio controls: - Functional vertical fader with draggable cap, mapped to a Web Audio GainNode so it actually controls output volume - Segmented LED-style level meter that reads from an AnalyserNode and lights up green/yellow/red while audio plays - Rotary pan knob (pointer-drag) mapped to a StereoPannerNode - Mute / Solo buttons with console-style styling - Transport bar now has Play/Pause, Stop, and Loop buttons Other polish: - Denser dark surface, smaller radius, lower-contrast lines - RMS-style waveform in the master section - Status footer streams queue position/ETA via Gradio's SSE Co-Authored-By: Claude <noreply@anthropic.com>d7a4755 -
Redesign UI as a professional DAW-style audio studio
Linear/Logic/Ableton-inspired single-surface layout with: - Top bar: brand mark + live connection dot - Two-column work area: TRACK (source/script/mix) + MASTER (output) - Channel-strip master output with transport (large mono time display, RMS-style waveform, click-to-seek progress overlay) - Live waveform state during generation (animated amber bars) while the audio is being synthesized - DAW-style sliders: thin track + square amber thumb + monospace right-aligned value - Segmented control for mode toggle (preset vs clone) - Status footer: Stage / Queue / ETA / Latency / Codec - Switched from client.predict() to client.submit() so the JS client streams Gradio status events (queue position, ETA, stage) via SSE and updates the footer in real time as the request moves through pending -> generating -> complete Co-Authored-By: Claude <noreply@anthropic.com>0d0185f
-
Convert to gradio.Server backend with custom HTML frontend
Replace the gr.Blocks UI with a self-contained dark-themed HTML/CSS/JS frontend served at /, and expose synthesis via @app.api("/synthesize") so it flows through Gradio's queue (concurrency, ZeroGPU, gradio_client). - app.py: gradio.Server with @app.api() for synthesize, @app.get("/") for the HTML, @app.get("/config.json") for frontend bootstrap data. Same 9-parameter synthesize() signature; audio saved as 16-bit PCM WAV to _out/ and returned as FileData. - index.html (new): dark studio layout — gradient header, status badge, mode toggle, speaker dropdown, drag-drop reference upload, collapsible generation-settings panel, canvas waveform player with seek, example chips. Talks to the backend via @gradio/client JS. - requirements.txt: add scipy (used for WAV writing). - README.md: document the new architecture. - .gitignore: ignore the _out/ WAV directory. Co-Authored-By: Claude <noreply@anthropic.com>c2a69f5