Commit Graph

149 Commits (32b69bdd3df31ecc50630d0506ee3bb667dd64b3)

Author SHA1 Message Date
vladmandic b2b4e13bab lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-22 11:17:41 +01:00
CalamitousFelicitousness 9a5e908ddf fix(ui): initialize max_length before tokenizer block 2026-03-21 23:27:46 +00:00
awsr 51a10320c7
Implement updated Warn Once handling 2026-03-13 02:01:59 -07:00
awsr 9a7f1e7978
Typing update 2026-03-13 02:01:56 -07:00
awsr 041029d184
Restore max length of 75 (77 for model)
Default model max length for CLIP is 77 including BOS and EOS.
2026-03-13 02:01:53 -07:00
awsr 686ac0375d
Always enabled 2026-03-13 02:01:50 -07:00
awsr 09c82064e1
Only enable detailed with native prompt parsing 2026-03-13 02:01:47 -07:00
awsr f43b459e9b
Revert "Use manual looping"
This reverts commit e5fdb0015727edc68938a8a394a83b3c70f9833a.
2026-03-13 02:01:45 -07:00
awsr 0d27d9ea09
Use manual looping
- I'm assuming there won't be much of a difference in performance. If it ends up being too slow, this can always be reverted.
2026-03-13 02:01:41 -07:00
awsr 897925da2a
Minor cleanup 2026-03-13 02:01:35 -07:00
awsr f1a4faadb8
Add optional detailed token counts 2026-03-13 02:00:51 -07:00
awsr 61b98de9e2
Keep `wsl-open` as a fallback
Very unlikely to be needed, but just in case...
2026-03-07 14:52:10 -08:00
awsr 952fdedd73
Use `wslview` on WSL + minor rewrite
`wslview` has been included by default in WSL for a while now.
2026-03-07 01:13:49 -08: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
Vladimir Mandic bfe014f5da modernize typing 2026-02-19 09:15:37 +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
vladmandic 58351b1f53 fix metadata save and temp file handler
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-28 19:28:49 +01:00
awsr 3298f3db9a
Rework prompt parsing/processing
- Return consistent structure
2026-01-21 16:57:05 -08:00
awsr ffa2150d42
Re-enable file deletion 2026-01-20 22:07:44 -08:00
vladmandic f9aa2591e5 fix gallery save/delete
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 09:53:20 +01:00
CalamitousFelicitousness 761ea1c327 feat(settings): add base path support for output folders
Change "Images folder" and "Grids folder" settings to act as base paths
that combine with specific folder settings, rather than replacing them.

- Add resolve_output_path() helper function to modules/paths.py
- Update all output path usages to use combined base + specific paths
- Update gallery API to return resolved paths with display labels
- Update gallery UI to show short labels with full path on hover

Example: If base is "C:\Database\" and specific is "outputs/text",
the resolved path becomes "C:\Database\outputs\text"

Edge cases handled:
- Empty base path: uses specific path directly (backward compatible)
- Absolute specific path: ignores base path
- Empty specific path: uses base path only
2026-01-16 16:24:05 +00:00
vladmandic f21a943028 gallery save/delete checks
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-13 09:57:22 +01:00
vladmandic 87429b19ca kanvas add send-to functionality
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-04 19:37:10 +01:00
vladmandic 3a96c514c4 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-24 15:10:43 +01:00
CalamitousFelicitousness a19c795b49 fix(prompt): handle multi-modal processors in token counter
For FLUX2 models using Mistral3/PixtralProcessor, detect and use the
underlying text tokenizer instead of calling the processor directly,
which incorrectly tries to interpret text prompts as images.
2025-12-10 18:54:39 +00:00
awsr 00d3be3dba show_progress requires "full", "minimal", or "hidden" 2025-11-28 02:27:19 -08:00
vladmandic ad6458aa7b add flux2
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-26 15:47:17 +00:00
Vladimir Mandic c1d87a14eb import sdnq on video prequant model load
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-01 11:20:30 -04:00
Vladimir Mandic c254835351 fix lora strength
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-26 10:14:02 -04:00
Vladimir Mandic 01e8211d4b cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-25 14:17:40 -04:00
Vladimir Mandic 9cee2cd1ed fix metadata on batched images
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-25 13:45:23 -04:00
Vladimir Mandic 6a0090714c add reference models to gallery
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-10 10:21:51 -04:00
Vladimir Mandic 3493a4268c refactor reuse-seed
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-31 16:11:14 -04:00
Vladimir Mandic 105b917d72 modernui improved image sizing
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-22 14:06:51 -04:00
Vladimir Mandic 09cc584089 civitai downloader batch download all versions
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-08 18:06:36 -04:00
Vladimir Mandic 6a6605191f configurable image fit in all image views
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-06 11:33:50 -04:00
Vladimir Mandic 895c7f41fb gallery bypass thumb cache and safer delete ops
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-04 15:53:43 -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 fd722311db css and logging tweaks
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-27 08:17:41 -04:00
Vladimir Mandic a298173cf0 handle batch when saving images
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-25 13:13:32 -04:00
Vladimir Mandic 0b8001c0fa prompt error handling
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-25 12:38:25 -04:00
Vladimir Mandic fd2dde9154 sorry
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-25 11:46:28 -04:00
Vladimir Mandic f90e8d7118 error handling
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-25 11:41:20 -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 c4d9338d2e major refactoring of modules
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-03 09:18:38 -04:00
Vladimir Mandic a5d784f073 fix delete file from main gallery view
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-06-25 10:30:59 -04:00
Vladimir Mandic ff4d57814e fix debug logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-04 09:14:48 -04:00
Vladimir Mandic 7520be4874 styles resize and bring quick-ui forward on hover
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-04-04 09:05:32 -04:00