Commit Graph

139 Commits

Author SHA1 Message Date
Vladimir Mandic 7e21e17d08 Merge pull request #4971 from vladmandic/fix/resolution-ar-controls
fix(ui): debounce aspect-ratio linked width/height controls
2026-07-01 11:07:57 +02:00
Vladimir Mandic 0e35079f06 attempt to load incomplete model
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-29 13:39:46 +02:00
CalamitousFelicitousness 17b7176e0d fix(ui): debounce aspect-ratio linked width/height controls
A single handler bound to the AR dropdown, width and height (in the
shared create_resolution_inputs and the resize section) wrote both
sliders on every change. With a ratio selected it locked one axis and
snapped it back on each edit, the two sliders looped, and the math ran
server-side one round-trip per keystroke, echoing a value back into the
field being typed in and yanking it.

Move aspect-ratio linking to the browser (ui/resolutionLock.ts): a
debounced edit writes only the partner axis, never the field being
edited, and commits immediately on blur, enter, or slider release. Keep
the kanvas notify on notifyKanvasResize wired to the resize sliders'
gradio .change, so it still fires on programmatic size updates (detect,
paste, swap) that client-side listeners miss. Drop the per-change AR
wiring, res_apply, and the resolutionChange* helpers.
2026-06-29 00:20:36 +01:00
Vladimir Mandic 5072ea406f debounce width/height updates
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-23 13:55:47 +02:00
Vladimir Mandic 893c1e702d main panel positioning
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-21 12:52:32 +02:00
QualiaRain 9f2374f5ff fix ui/misc: None desc crash, ratio/tile/lora split guards, parse_metadtaa typo, moondream type guard
Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-12 13:00:50 -04:00
Vladimir Mandic efe9a1f348 two-way image resize ui/kanvas
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-09 19:33:44 +02:00
Vladimir Mandic 84228f1657 update sampler behavior and user definable fallback
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-08 17:00:00 +02:00
Vladimir Mandic cad27637b4 schedulers validate ui sections
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-08 08:58:13 +02:00
vladmandic 2fcabc8047 fix upscaler init causing server fail
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-04 11:03:34 +02:00
awsr ff247d8fd2 Merge branch 'dev' into RUF013 2026-03-24 07:12:51 -07:00
awsr 09ab19c438 RUF013 updates and formatting 2026-03-24 06:07:34 -07:00
vladmandic 09b9ae32c1 add color grading to processing
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-23 08:44:07 +01:00
vladmandic e87fcd1bc5 latent correction hints
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-22 11:27:36 +01:00
CalamitousFelicitousness e4cb96f6a4 fix(ui): widen latent correction slider ranges
brightness and sharpen: ±1.0 → ±4.0
color: 0-4.0 → 0-16.0
tint strength: ±1.0 → ±4.0
2026-03-19 04:03:20 +00:00
CalamitousFelicitousness ee2fc75619 fix(grading): color grading type coercion, CLAHE, sharpness and tone scaling
- add __post_init__ to GradingParams to coerce Gradio int returns to float
- apply CLAHE to L channel in Lab space instead of per-RGB channel
- fix sharpness scaling (kornia factor 1.0=no change, map 0-based slider)
- increase shadows/midtones/highlights gamma strength 2x for visible effect
- reduce CLAHE clip slider range to 0-5 with finer 0.25 step
2026-03-19 04:00:12 +00:00
vladmandic 39ce3d7ea3 separate color corrections
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-18 07:53:04 +01:00
vladmandic c86674047a fix state end
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-14 12:46:43 +01:00
vladmandic 80ab63db2c merge: ui_sections.py
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-12 15:38:21 +01:00
Vladimir Mandic e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
CalamitousFelicitousness 61b031ada5 refactor: update imports for caption module rename
Update all imports from modules.interrogate to modules.caption across:
- modules/shared.py, modules/shared_legacy.py
- modules/ui_caption.py, modules/ui_common.py
- modules/ui_control.py, modules/ui_control_helpers.py
- modules/ui_img2img.py, modules/ui_sections.py
- modules/ui_symbols.py, modules/ui_video_vlm.py
2026-02-11 02:47:41 +00:00
Vladimir Mandic c1f9646eaa Merge pull request #4541 from awsr/save-update
Update config saving
2026-01-11 13:05:29 +01:00
awsr 0faabffc14 Simplify options init/save/load 2026-01-10 13:27:38 -08:00
vladmandic ec007a3018 add laplace beta scheduler
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-10 08:41:27 +01:00
awsr 00d3be3dba show_progress requires "full", "minimal", or "hidden" 2025-11-28 02:27:19 -08:00
awsr b26d999991 Make selected_scale_tab match default UI behavior
The fact that Gradio didn't even have a simple way to update States from within code until later versions makes my head hurt. Actually... a lot of things about Gradio make my head hurt.
2025-11-08 04:14:52 -08:00
Vladimir Mandic 05261e708a ability to disable parts of the app
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-03 19:36:55 -05:00
Vladimir Mandic 0b346ec1ce add base and max shift parameters for flow-matching samplers
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-19 14:11:41 -04:00
Vladimir Mandic eb025eaf31 remove split-attention and add attention slicing option
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-28 18:01:34 -04:00
Vladimir Mandic 6f409deedf ui separate guidance and detail sections
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-24 12:33:57 -04:00
Vladimir Mandic d01dc111a8 reduce ui updates
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-08 15:40:58 -04:00
Vladimir Mandic d673c58c10 fix drop image to prompt in modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-08 09:42:26 -04:00
Vladimir Mandic b2dbef53e5 restyled all toolbuttons to be modernui native
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-31 15:01:50 -04:00
Vladimir Mandic 3e3adcee74 add skyreels-v2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-07 13:56:13 -04:00
Vladimir Mandic c36e8efd38 add missing interrogate in output panel
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-30 09:14:59 -04:00
Vladimir Mandic 8ec16d5b8c update modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-28 13:47:13 -04:00
Vladimir Mandic 094647b373 fix missing ui components
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-23 08:38:12 -04:00
Vladimir Mandic 143aa202e6 fix modernui txt2img sampler
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-22 13:21:31 -04:00
Vladimir Mandic 36c356785e modernui updates
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-22 10:07:17 -04:00
Vladimir Mandic c7ef692563 replace boundry with boundary
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-10 14:26:16 -04:00
Vladimir Mandic 3f5ab15f64 ltx-conditioned prototype
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-09 18:11:51 -04:00
Vladimir Mandic c559e26616 add builtin framepack
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-08 15:47:07 -04:00
Vladimir Mandic 9246f447df fix resize visibility
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-06 22:13:42 -04:00
Vladimir Mandic a5b77b8ee2 remove dead code
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-05 16:47:25 -04:00
Vladimir Mandic e8b5ea3847 major refactor: remove backend original
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-05 13:16:46 -04:00
Vladimir Mandic 8473bae0fc 1000 papercuts
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-05-13 21:51:33 -04:00
Disty0 f4dfe20bc1 Add sigmoid beta scheduler 2025-05-04 17:42:22 +03:00
Vladimir Mandic 1b341dd809 setting to enable/disable clip skip editing
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-28 09:44:51 -04:00
Vladimir Mandic 263b841129 logging cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-05 12:58:00 -04:00