Commit Graph

46 Commits

Author SHA1 Message Date
QualiaRain 58386c657d Fix XYZ grid state.end leak on invalid axis values in xyz_grid_on
Same except-path as the previous commit: jobid is begun before the
try block but never ended on the error return, mirroring the
xyz_grid.py fix.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-12 02:42:15 -04:00
Claude 1fdb9ecfdb Fix XYZ grid sub-grid count ignoring sub-grids created with the main grid
draw_xyz_grid inserts one sub-grid per Z value whenever the main grid
or sub-grids are enabled, but have_subgrids only counted them when
'Include sub grids' was checked. With main grid on and sub grids off,
the Z sub-grids leaked into the results as ordinary images (shown in
the gallery, fed into video creation, misaligning infotexts) and the
removal branch was unreachable since its condition contradicted itself.
Count sub-grids based on the same condition that inserts them.

https: //claude.ai/code/session_014QWKWgKvMevcuvfCnsYoT2
Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-12 02:41:29 -04:00
Claude 16145a5bdd Fix XYZ grid state leaks on invalid axis values
The always-on variant returned from its parse-error handler without
resetting the module-level active flag, silently disabling the XYZ grid
for every later generation until restart. The selectable variant
likewise returned without ending the job state it had begun.

https: //claude.ai/code/session_014QWKWgKvMevcuvfCnsYoT2
Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-12 02:41:29 -04: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
vladmandic 91bba59c0d fix lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:08 +02:00
vladmandic b5e9fbc7b3 reorganize scripts/extensions
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-27 14:00:46 +01:00
vladmandic b90558430e fix grid
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-25 09:11:31 +01:00
Vladimir Mandic 216558185b update installer usage 2026-02-19 12:21:46 +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 3d0edb4f8f refactor: remove face restoration from CLI tools and XYZ grid
- Remove gfpgan/codeformer face template lines from cli/generate.py
- Remove gfpgan_visibility, codeformer_visibility, codeformer_weight
  from cli/generate.json upscale config
- Simplify cli/process.py upscale_restore_image() to remove the
  restore path and codeformer parameters
- Remove codeformer/gfpgan special cases from xyz_grid_shared.py
  apply_detailer(), keep generic boolean parsing
- Remove p.restore_faces assignment from xyz_grid_on.py
2026-02-08 23:00:05 +00:00
vladmandic 2d6cc5addb metadata restore to always-on scrips
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-05 10:21:49 +01:00
vladmandic b5f000ab8a add xyz and script support to control api
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-23 13:07:42 -05:00
awsr 2e87e20c30 Allow \, to prevent text splitting 2025-11-15 13:09:05 -08:00
awsr 3d604948ea Allow using | as a delimiter instead of ,
This useful for when you want to test combinations of multiple items that would need to be separated by a comma.
2025-11-15 13:09:04 -08: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 47cba6b0a7 fix xyz with random seed
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-19 09:24:49 -04:00
Vladimir Mandic 175e9cbe29 cleanup/refactor state history
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-12 16:12:45 -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 cd84cfec11 xyzgrid with control tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-15 14:35:27 -04:00
Vladimir Mandic a77975165c fix xyz with control enabled
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-15 09:11:54 -04:00
Vladimir Mandic c4d9338d2e major refactoring of modules
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-03 09:18:38 -04:00
Vladimir Mandic 15cbffeb97 cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-06-27 09:52:31 -04:00
Vladimir Mandic 78330142ae add moondream2, sdnq xyzgrid timing info
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-06-27 09:41:32 -04:00
Vladimir Mandic 6d08bf2558 xyz grid handle invalid values
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-25 08:37:49 -05:00
Vladimir Mandic 27e087ecea update element ids
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-16 11:51:36 -05:00
Vladimir Mandic 5a59054eec refactor video file create and save
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-15 13:03:40 -05:00
Vladimir Mandic 5593ea78a9 refactor detailer
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-07 10:12:47 -05:00
Vladimir Mandic 0114b59470 refactor of progress monitoring
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-05 13:22:19 -05:00
Vladimir Mandic 94a659ee1f fix xyz with detailer, sd35 img2img
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-01-02 11:00:10 -05:00
Vladimir Mandic 2b5334aa86 reenable preview sigma calculations
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-30 11:18:17 -05:00
Vladimir Mandic bccb277dcb update lora apply weights and xyz
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-30 17:26:52 -05:00
Vladimir Mandic bbd224c9f0 fix xyz grid with scripts/detailer
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-17 07:58:21 -05:00
Vladimir Mandic f593efe966 xyz grid create video
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-05 09:06:49 -05:00
Vladimir Mandic a2f9a4dbb0 refactor pulid
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-04 12:31:39 -05:00
Vladimir Mandic ac26ba5cf1 fix xyz with batch count
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-31 15:02:55 -04:00
Vladimir Mandic faa0bf5358 add xyz optional time info
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-30 12:26:07 -04:00
Vladimir Mandic 9a46d381cc cleanups
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-01 20:02:21 -04:00
Vladimir Mandic b8055d1527 fix xyz grid 2024-09-26 09:24:11 -04:00
Fundaris 1fff99fc96 fix xyz grid seed labels broke after renaming options 2024-09-26 09:02:20 +02:00
Vladimir Mandic 3d38f6ea73 update xyz grid 2024-09-25 19:32:57 -04:00
Vladimir Mandic 4136983f82 add reprocess plus major processing refactor 2024-09-24 20:31:05 -04:00
Vladimir Mandic a3b3553588 optimize xyz grid 2024-09-21 14:54:30 -04:00
Vladimir Mandic fe93ad6929 refactor xyzgrid 2024-09-13 19:22:02 -04:00
Vladimir Mandic a415e93b45 fix grid prompt 2024-09-13 12:39:10 -04:00
Vladimir Mandic 0a7f60d637 global xyz-grid 2024-09-12 18:43:44 -04:00