Commit Graph

53 Commits

Author SHA1 Message Date
Vladimir Mandic 17c8fe91e2 cleanup performance tags
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-02 19:14:04 +02:00
Vladimir Mandic 743d585faa audit: api response models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-01 11:19:55 +02:00
Vladimir Mandic b3cf481c11 Merge pull request #4970 from vladmandic/feat/video-models
Feat/video models
2026-07-01 11:11:57 +02:00
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
CalamitousFelicitousness 10647c7b67 fix(video): apply Wan 2.2 MoE boundary at runtime in both image and video paths
Wan 2.2 A14B ships a per-model boundary_ratio (0.9 I2V, 0.875 T2V) that selects the high- or low-noise expert per step. The video and base-model image loaders both load the shipped value; the slider override is applied at generation time in set_pipeline_args, the one point both paths pass through before invoking the pipeline.

The denoising loop reads config.boundary_ratio each call, so tuning takes effect with no reload for video and base-model images alike. The slider defaults to -1, meaning use the model's value; 0 to 1 set the boundary explicitly. Single-expert stages stay load-time because they drop a transformer to free VRAM.
2026-06-30 23:00:26 +01: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
CalamitousFelicitousness 7b42f25cf7 docs(i18n): clarify control size and resize Mode hints 2026-06-27 22:23:00 +01:00
Vladimir Mandic c0a4db64e2 ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-26 21:31:14 +02:00
Vladimir Mandic f44dd11b05 fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-26 21:30:09 +02:00
Vladimir Mandic b61475574e preview check for output panel visibility
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-25 10:54:35 +02:00
Vladimir Mandic fd9de21da1 update locale
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-24 21:34:43 +02:00
Vladimir Mandic abddebd629 hints
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-24 21:26:19 +02:00
Vladimir Mandic 2a625a565a networks reference style
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-24 21:14:11 +02:00
Vladimir Mandic f0aec9f8e8 update ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-24 20:53:35 +02:00
Vladimir Mandic 913f1ca9ee improve gallery performance
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-22 12:16:18 +02:00
Vladimir Mandic 9cca1ff87b rebuild
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-21 13:36:30 +02:00
Vladimir Mandic 893c1e702d main panel positioning
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-21 12:52:32 +02:00
Vladimir Mandic 22e6ab2bb8 add legacy notice
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-20 21:18:35 +02:00
Vladimir Mandic 428b877e07 scrollable network details
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-20 21:18:35 +02:00
Pablo Hellmann bac713b45e Revert changes to dist files 2026-06-18 20:29:00 +02:00
Pablo Hellmann 642a2be76f Add user option to enable/disable not-in-focus live previews 2026-06-17 16:08:37 +02:00
Pablo Hellmann 396b15e567 Revert "Adds per step based live preview as a option"
This reverts commit ecad61ce92.
2026-06-17 16:00:05 +02:00
Pablo Hellmann ecad61ce92 Adds per step based live preview as a option 2026-06-16 20:20:18 +02:00
Pablo Hellmann 07d5836679 Revert "Made live preview and progress tracker per step based with new UI setting"
This reverts commit 7bb0b06254.
2026-06-16 16:20:19 +02:00
Pablo Hellmann 7bb0b06254 Made live preview and progress tracker per step based with new UI setting 2026-06-16 03:18:37 +02:00
Vladimir Mandic bc9b65432d update js requirements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-15 15:10:24 +02:00
Vladimir Mandic 8e04473ac4 rebuild ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-15 11:57:53 +02:00
Vladimir Mandic fd210da39f lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-15 08:45:58 +02:00
QualiaRain 148a7883a2 Fix assorted small typos: dead __str__, unformatted messages, preview min-height, tooltip
- processing.py: __str___ misspelled dunder never dispatched; rename to __str__
- demofusion.py: missing f-prefix printed literal {width}x{height} in user-facing error
- sparse_backend.py: missing f-prefix printed literal {size} in ValueError
- generation_parameters_copypaste.py: debug message typo 'Not not registered'
- progressBar.ts: live-preview gallery minHeight computed from naturalWidth; mirrors the adjacent maxHeight line (naturalHeight)
- settings.ts: stray } in settings-tab tooltip
2026-06-11 01:42:29 -04:00
Vladimir Mandic ee3a466ad9 patch getexif
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-10 08:20:25 +02:00
Vladimir Mandic 72b2f0d7be bump compel
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-10 08:09:00 +02: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
CalamitousFelicitousness f669283fed fix(ui): apply hints to radio and checkboxgroup titles
Gradio renders radio and checkboxgroup titles as a bare block-info span
outside any label, so the hint scan missed them and those titles never
received a tooltip or localization. Add the block-info selector to the
element scan, deduplicating against the nodes already collected.

Rebuild the core bundle.
2026-06-07 05:50:28 +01:00
CalamitousFelicitousness 7990a8b4f2 docs(i18n): add hint for model types not to quantize
Document the space or comma separated model-type list that quantization
skips, with the family codes shown in the load log and an example.
Mark it as requiring a model reload, matching the other quantization
settings, since the value is read only during model load.
2026-06-07 05:49:59 +01:00
CalamitousFelicitousness f420138c07 docs(i18n): flag offload always/never lists as needing model reload
They also take effect on a watermark change, not only on model reload,
but the loophole is not worth documenting in the hint.
2026-06-07 05:11:48 +01:00
CalamitousFelicitousness 38a5990c54 docs(i18n): flag quant and offload settings that need model reload or server restart 2026-06-07 04:39:34 +01:00
CalamitousFelicitousness 91a4e9cef4 docs(i18n): add hints for model offloading settings 2026-06-07 02:57:00 +01:00
CalamitousFelicitousness 5105e0ad87 docs(i18n): add hints for SDNQ quantization settings 2026-06-07 02:57:00 +01:00
CalamitousFelicitousness f83c1bc731 refactor(sdnq): clean up dynamic loss threshold slider 2026-06-07 00:18:07 +01:00
Vladimir Mandic 5e99dee3c2 full codespell coverage
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-04 12:36:10 +02:00
Vladimir Mandic cade8c2564 fix generate forever
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-03 16:54:58 +02:00
CalamitousFelicitousness f9ab0bf04d feat(api): add detailer postprocess script and /sdapi/v1/detail endpoint
Surface YoloRestorer.restore() as a standalone operation: a Detailer
postprocessing script in the Process tab and a thin /sdapi/v1/detail
endpoint, neither requiring a base generation pass.

- modules/postprocess/yolo.py: YoloRestorer.make_processing() builds the
  synthetic Img2Img processing object both entry points feed to restore(),
  resolving the seed so the inpaint passes are reproducible
- modules/api/process.py: post_detail handler exposes the full detailer
  parameter set and returns the detailed image plus optional annotations
  as base64
- scripts/postprocessing_detailer.py: reuses shared.yolo.ui('extras') and
  runs through make_processing()
- modules/postprocessing.py: run_extras takes a per-script script_args
  dict, also letting the extras API drive other scripts such as Remove
  background; omitting it leaves existing callers unchanged
- modules/api/models.py: ReqDetail / ResDetail
- modules/processing_info.py: guard create_infotext's Image/Hires CFG
  reporting against an unset (None) cfg_image, matching the is-not-None
  checks the other cfg_image readers use; the detailer inpaint pass runs
  with it unset
- test/test-detailer-api.py: covers both paths; effect tests measure the
  diff inside the detected region with extreme isolated parameter values,
  and the suite disables model quantization for the run and restores the
  original settings afterward
2026-06-01 00:25:59 +01:00
Vladimir Mandic b61c89a137 add submit alias
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-25 10:55:56 +02:00
Vladimir Mandic 2af0934cad fix gallery layout in standardui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-24 13:59:39 +02:00
Vladimir Mandic ded26d1fbc lens fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-24 08:45:44 +02:00
Vladimir Mandic 5f04d472ce additional exports
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-23 08:32:33 +02:00
Vladimir Mandic e50fc62ee7 fix networks click-select
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-23 07:36:55 +02:00
Vladimir Mandic 082498e6bd prompt-enhance-v2 with steering
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-22 16:58:23 +02:00
CalamitousFelicitousness 9457a8282e fix(ui): expose cardClicked on window for inline onclick handlers
modules/ui_extra_networks.py emits onclick="cardClicked(...)" on
every network card, but cardClicked was module-private in
ui/extraNetworks.ts and got tree-shaken out of the bundle. Attach
it to window like showCardDetails so card clicks resolve and the
<lora:...> insertion path works.
2026-05-22 01:53:41 +01:00