Commit Graph

17 Commits (4006b3e093b5e4efd419ecc0de1a0d1b6964c4bf)

Author SHA1 Message Date
Vladimir Mandic bfe014f5da modernize typing 2026-02-19 09:15:37 +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
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 c4d9338d2e major refactoring of modules
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-03 09:18:38 -04:00
Vladimir Mandic 00ebdf3476 fix api scripts callbacks
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-27 10:07:37 -05:00
Vladimir Mandic 9188ecf4d6 scripts cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-21 13:45:27 -05:00
Vladimir Mandic fa5de3dc22 api resiliency improvements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-21 11:28:19 -05:00
Vladimir Mandic a5c8bb57c7 improve api scripts resiliency
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-21 10:17:44 -05:00
Vladimir Mandic bdd885eab4 multiple param validation fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-14 12:37:38 -05:00
Vladimir Mandic dab2827dab add api override field
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-11-08 09:49:46 -05:00
Vladimir Mandic 68a8ffa3cf ipadapter optional face autocrop input image 2024-08-29 14:10:38 -04:00
Vladimir Mandic 554e5c8224 torch dynamic profiling 2024-05-16 18:40:18 -04:00
Vladimir Mandic 49ea56059b ipadapter masks api support 2024-04-20 10:06:32 -04:00
Vladimir Mandic f2610c3936 ip adapter masking 2024-04-18 12:43:51 -04:00
Vladimir Mandic bd7ba768b1 add ip_adapter to api and fix control 2024-03-29 10:26:29 -04:00
Vladimir Mandic c29b76fde3 cleanup api 2024-03-02 08:59:35 -05:00
Vladimir Mandic 02336fdb36 refactor txt2img/img2img api 2024-02-16 08:49:42 -05:00