Spaces:
Runtime error
Runtime error
Commit History
-
Add user-adjustable GPU Duration slider to Advanced Settingsβ
Exposes the spaces.GPU duration as a UI slider (10β120s, step 5s) so users can tune quota usage per request. Switching modes auto-resets the slider to its default (fast=20s, high_detail=60s). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b36328a
-
Add Fast / High-Detail mode toggle (768px vs 2048px output)β
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>f333d01
-
Revert 2K/4K resolution selector (4K too slow for generation)β
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>0aa155d -
Add 2K/4K resolution selector to Advanced Settingsβ
- Add `_resolve_output_dimensions` helper to encapsulate max_dim parsing - Wire `max_output_dim` hidden Gradio Textbox (defaults to MAX_OUTPUT_DIM) through infer - Add res-btn toggle group in Advanced Settings panel (HTML + CSS) - Track selection in `window.__setResolution` / `window.__selectedMaxDim` (gallery.js) - Pass selected resolution through run_preprocess.js to the backend Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>ca50d09
-
Refactor: extract inline CSS, JS, and HTML from app.py into static filesβ
Move all inline content out of app.py into dedicated files: - static/app.css β all styles - static/gallery.js β image gallery and UI wiring - static/wire_outputs.js β output/seed/example result watchers - static/run_preprocess.js β pre-flight JS for run button - templates/app.html β HTML shell with named .format() placeholders Named keyword arguments (e.g. {fire_logo_svg}, {example_cards_html}) are used in the template so each substitution site is self-documenting. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>28ae1ac