Commit Graph

982 Commits

Author SHA1 Message Date
Vladimir Mandic f67562b912 - all guidance values set to -1 to enable using model defaults
- log default values used if not overriden by user
- rename inconsistent guidance variables:

p.cfg_scale
p.image_cfg_scale -> p.cfg_image
p.diffusers_guidance_rescale -> p.cfg_rescale
p.pag_scale -> p.cfg_true
p.pag_adaptive -> p.cfg_adaptive

Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-16 11:06:23 +02:00
Vladimir Mandic 62a3653b49 ty lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-11 09:34:17 +02:00
Vladimir Mandic feeafc6286 strict ruff without exclude
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-11 08:36:49 +02:00
Vladimir Mandic c8d6fd5cf8 Revert "much stricter ruff linting"
This reverts commit 310dbf1574.
2026-05-11 08:13:57 +02:00
Vladimir Mandic 8296d07ff8 Revert "stricter pylint"
This reverts commit c27481e45a.
2026-05-11 08:13:48 +02:00
Vladimir Mandic c27481e45a stricter pylint
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-11 07:51:47 +02:00
Vladimir Mandic 310dbf1574 much stricter ruff linting
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-11 07:15:37 +02:00
CalamitousFelicitousness f2227d7785 feat(autocomplete): apply keep-underscores setting to insertion
Rename `autocomplete_replace_underscores` to `autocomplete_keep_underscores`
(default false) so both autocomplete toggles read as "keep" semantics.
`insertTag` now honors the setting for both tag and artist modes, matching
the dropdown display. Embedding insertion always preserves underscores
because the names are filesystem identifiers.

- ui_definitions: rename option, flip default, update label
- scripts/autocomplete: rename handler, checkbox, and config-bridge keys
- javascript/autocomplete: invert render polarity; insertTag takes a `kind`
  parameter; drop the artist-mode hardcoded underscore replacement so the
  setting controls tags and artists uniformly

Closes #4827
2026-05-10 19:47:54 +01:00
Vladimir Mandic 74fc05c9f9 add sd-ultimate-upscale
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-08 10:16:17 +02:00
Vladimir Mandic 57f5bf5bd5 add missing js files
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-02 10:56:52 +02:00
Vladimir Mandic 823058b15a add prompt-enhance info to metadata
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-02 10:41:01 +02:00
Vladimir Mandic ff5bdd1b62 update diffusers and extra lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-28 08:58:49 +02:00
Vladimir Mandic bd7cfe1a57 Merge pull request #4804 from awsr/rocm-adv-update
ROCm Adv Mgr: Only autoload if config file exists
2026-04-27 20:23:02 +02:00
awsr 0cb7f426f9 Only autoload if config file exists. 2026-04-27 10:55:53 -07:00
Vladimir Mandic a654ece3cb Merge pull request #4798 from vladmandic/feat/rife-upgrade
Feat/rife upgrade
2026-04-27 07:17:47 +02:00
CalamitousFelicitousness ba4436916d fix(control): prevent duplicate save_video and unmask video module shadow
When a video script (animatediff, text2video, image2video, stablevideodiffusion)
runs via Control tab, both the script's save and control_run's end-of-run save
fired. The latter crashed silently because the local `video` cv2 capture name at
control_run:584 shadowed the modules.video import, so the duplicate was hidden
and the gallery video link never propagated.

- alias import as video_module to bypass the shadow
- p.video_saved marker set by each script
- control_run skips its end-of-run save when the marker is set
2026-04-27 01:32:30 +01:00
Vladimir Mandic 40ac6fd981 Merge pull request #4796 from vladmandic/feat/autocomplete-upgrade
feat(autocomplete): additional features for autocomplete
2026-04-26 07:31:40 +02:00
CalamitousFelicitousness 7d77b01c3d feat(video): wire scripts and control to video_interpolate field
Set p.video_interpolate at run() entry so process_images_inner picks up
the helper. Save calls keep their existing kwargs; the sentinel guard
skips re-interpolation when the helper already ran.

- animatediff, text2video, image2video, stablevideodiffusion route
  mp4_interpolate into p.video_interpolate
- modules/control/run.py routes the request video_interpolate arg
- xyz_grid intentionally untouched: its end-of-axis save_video stitches
  the cell slideshow, not per-cell videos; a future video_interpolate
  axis would set p.video_interpolate per cell via axis_options
2026-04-26 03:09:27 +01:00
CalamitousFelicitousness bf0f26cad5 feat(grading): record applied params in postprocess metadata
Color grading mutated pp.image but never wrote to pp.info, so the
chosen brightness/contrast/gamma/LUT/etc. were invisible in the
saved file's postprocessing/extras chunks and in the live Output
panel — unlike every other postprocessor (Upscale, Rembg, NudeNet,
PixelArt) which all stamp their settings.

Stamp every non-default GradingParams field as 'Grading <name>' so
the trail is consistent with the rest of the Process tab. LUT file
is recorded by basename rather than full path to keep the metadata
string compact.
2026-04-25 23:32:50 +01:00
CalamitousFelicitousness 54fba340ae feat(autocomplete): translations opt-in + companion skip filters
- new autocomplete_translations setting (default off); checkbox in script accordion + locale hint
- get_cached gates companion load on the opt; toggle-flip auto-syncs missing files in a background thread
- list_all_sync, local_names and config_json filter out *.translations.json so companion files never surface as selectable dicts
- one-time per-name warning when opt is on but companion is missing locally
2026-04-25 16:13:15 +01:00
CalamitousFelicitousness a60f215791 feat(autocomplete): @-prefix artist filter mode for Anima 2026-04-25 13:44:42 +01:00
vladmandic 40e550f1c3 add timer info
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-23 12:49:41 +02:00
CalamitousFelicitousness d04915a83f fix(grading): skip None kwargs so dataclass defaults apply 2026-04-14 00:10:43 +01:00
Vladimir Mandic b3f09aa417 Merge pull request #4707 from vladmandic/feat/tag-dictionaries
Feat/tag dictionaries
2026-04-13 11:57:48 +02:00
vladmandic a6c726f8d6 update tag-autocomplete
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-13 11:54:59 +02:00
vladmandic b103c2c1ff add gemma-4 heretic variant
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
vladmandic 91bba59c0d fix lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
resonantsky a48136bc78 Cleared default paths. 2026-04-10 19:36:51 +02:00
resonantsky 5696ffefde Linux wheel \bin\ folder to \lib\ folder fix 2026-04-10 14:05:51 +02:00
vladmandic 6a10fca1d0 update image guard
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-09 14:33:35 +02:00
vladmandic 14ba5e4ce7 update nudenet
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-09 13:48:54 +02:00
resonantsky e7ca946381 Merge branch 'vladmandic:dev' into dev 2026-04-09 08:43:58 +02:00
CalamitousFelicitousness 0e5d351099 add google gemma-4-e2b and gemma-4-e4b support
- add to prompt enhance models, img2img, and models_cls
- add to vlm/caption models
- update _load_gemma class selection for gemma 4
- bump transformers pin to 5.5.0.dev for gemma4 architecture support
2026-04-09 03:21:50 +01:00
CalamitousFelicitousness 3195bd6287 feat(autocomplete): move settings to always-on script UI
- create scripts/autocomplete.py as always-on script with dictionary
  management UI (dropdown, refresh, update, settings controls)
- move autocomplete settings from Settings > Extra Networks to hidden
  options, controlled via script UI with JS config bridge
- remove early exit in autocomplete.js when no dictionaries enabled,
  allowing dictionaries enabled via script UI to work without reload
- add id-based suffix matching to setHints.js for unique button hints
- add locale_en.json entries with tooltips for all autocomplete controls
2026-04-09 02:00:45 +01:00
resonantsky b89439e5b4 some UI clean up 2026-04-08 21:40:06 +02:00
resonantsky 5d7cc3016a some UI clean up 2026-04-08 21:27:36 +02:00
resonantsky 1733de3401 ROCm default system path corrections 2026-04-08 20:43:14 +02:00
vladmandic 8bce746fa2 lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-08 08:39:42 +02:00
vladmandic a8e535efe2 enhanced filename pattern processing
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-08 08:32:32 +02:00
awsr c003b0eb48 PIL Image.Image type fix 2026-04-06 01:06:19 -07:00
resonantsky 0add6a4642 Properly platform agnostic paths. 2026-04-04 21:17:42 +02:00
resonantsky a809b616e6 Restoring platform agnosticism, Linux users report OK 2026-04-03 15:46:15 +02:00
resonantsky e49d6262e9 UI edits, small corrections 2026-04-03 12:25:06 +02:00
resonantsky ac9aacac66 edited if installer.torch_info line 470 2026-04-03 11:58:43 +02:00
resonantsky 2177609e54 further fixes requested by review 2026-04-03 11:28:25 +02:00
resonantsky ee3b141297 fixes as requested by review 2026-04-03 11:21:53 +02:00
resonantsky 24f4490a59 Apply suggestion from @awsr
Co-authored-by: awsr <43862868+awsr@users.noreply.github.com>
2026-04-03 11:09:55 +02:00
resonantsky d2a47ee0ed code quality and layout fixes 2026-04-03 10:29:53 +02:00
resonantsky 01d53edb25 code quality and layout fixes 2026-04-03 10:12:21 +02:00
resonantsky b659a06c60 rocm_mgr: easy fixes - simplify _get_venv to sys.prefix, _get_root to direct script_path import 2026-04-02 21:13:22 +02:00