Commit Graph

27 Commits

Author SHA1 Message Date
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
Vladimir Mandic 7d91ee9611 enhance globals
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-21 12:02:01 +02:00
Vladimir Mandic b35f8fa831 ui fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-21 09:23:10 +02:00
Vladimir Mandic 4b2f38ab7f complete refactor javascript to typescript and reorg frontend files and folders
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-20 18:08:10 +02:00