QualiaRain
d361705280
fix prompts-from-file batch save metadata misalignment
...
The script concatenated each per-line result's images and infotexts INCLUDING the per-line grid, while all_seeds/all_prompts hold only real images and the final Processed gets index_of_first_image=0. With batch count > 1 the interleaved grids shift every index, so the manual save button writes neighboring images' metadata and filenames (and indexes past the end of infotexts for the last image). Slice each per-line result from proc.index_of_first_image so grids never enter the combined result and all lists stay 1:1 with the gallery. Fixes #2385 .
Co-Authored-By: Claude <noreply@anthropic.com >
2026-06-12 01:58:37 -04:00
Vladimir Mandic
f25f325efb
fixes based on full skills run
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2026-06-04 11:10:26 +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
awsr
00d3be3dba
show_progress requires "full", "minimal", or "hidden"
2025-11-28 02:27:19 -08:00
Vladimir Mandic
696a41fd42
fix prompts-from-file state check
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-09-23 15:33:52 -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
9743c8e4bf
keep previous processed state
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-31 15:20:15 -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
a5c8bb57c7
improve api scripts resiliency
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2024-11-21 10:17:44 -05:00
Vladimir Mandic
04a5071249
face-hires -> detailer refactor
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2024-10-06 11:23:33 -04:00
Vladimir Mandic
7a6d93134d
add prompt enhance
2024-09-09 20:20:23 -04:00
Vladimir Mandic
290bfc8b41
fix hijack and update script layout
2024-02-15 08:03:24 -05:00
Vladimir Mandic
943b1c13a2
fix prompts-from-file
2024-02-13 08:13:08 -05:00
Vladimir Mandic
619e385f2d
fix image index when saving multiple images
2023-10-23 11:01:09 -04:00
Vladimir Mandic
c0ef02abba
update scripts
2023-10-22 12:27:33 -04:00
Vladimir Mandic
7fb25b99b0
couple of img2img fixes
2023-10-11 15:41:08 -04:00
Vladimir Mandic
336bc0de40
re-layout of main settings
2023-09-13 13:01:10 -04:00
Vladimir Mandic
23efa8f0a5
fix init_image
2023-08-13 08:22:03 +00:00
Vladimir Mandic
cb307399dd
jumbo merge
2023-06-13 11:59:56 -04:00
Matthias Egger
293cd69940
fix prompts from file script failing to read contents from a drag/drop file
...
It was not possible to open a file with different prompts into the `Prompts from file` script.
Found an upstream fix:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/8ca50f8240fc1b4400ba59be50ad7a75b99cfbcb
which i implemented localy.
2023-05-14 13:13:46 +02:00
Vladimir Mandic
c5df80197e
new extension manager
2023-05-10 15:12:02 -04:00
Aurora
d793afbd03
Remove hardcoded disabling of grids in file script
2023-04-29 16:53:41 +02:00
Vladimir Mandic
99e3fceedb
cleanup scripts
2023-04-28 13:09:34 -04:00
Vladimir Mandic
2ece9782e4
handle duplicate extensions and redo exception handler
2023-04-14 09:57:53 -04:00
Vladimir Mandic
f6679fcc77
add global exception handler
2023-03-17 10:08:07 -04:00
AUTOMATIC
924e222004
add option to show/hide warnings
...
removed hiding warnings from LDSR
fixed/reworked few places that produced warnings
2023-01-18 23:04:24 +03:00
AUTOMATIC
69781031e7
simplify expression in prompts from file script
2023-01-14 16:45:39 +03:00
Zaprudin Aleksey
d753a9df95
fix progress bar behavior for "Prompts from file or textbox" script
2023-01-13 22:25:33 +05:00
AUTOMATIC
f8d0cf6a6e
rework #6329 to remove duplicate code and add prevent tab names for showing in ids for scripts that only exist on one tab
2023-01-05 12:08:11 +03:00
me
f185baeb28
Refactor elem_prefix as function elem_id
2023-01-05 09:29:07 +01:00
me
c3109fa18a
Adjusted prefix from i2i/t2i to txt2img and img2img and removed those prefixes from img exclusive scripts
2023-01-05 08:27:09 +01:00
me
5851bc839b
Add element ids for script components and a few more in ui.py
2023-01-04 22:14:30 +01:00
Yuval Aboulafia
3bf5591efe
fix F541 f-string without any placeholders
2022-12-24 21:35:29 +02:00
David Vorick
27c0504bc4
add support for prompts, negative prompts, and sampler-by-name in text file script
2022-12-13 12:03:16 -05:00
Liam
81f2575df9
updating the displayed generation info when user clicks images in the gallery. feature request 4415
2022-11-09 15:24:31 -05:00
AUTOMATIC
4dd898b8c1
do not mess with components' visibility for scripts; instead create group components and show/hide those; this will break scripts that create invisible components and rely on UI but the earlier i make this change the better
2022-11-04 08:38:19 +03:00
AUTOMATIC
55688c4880
rename the seed option from #4146
2022-11-02 07:02:45 +03:00
Keith Dreibelbis
315bd7c9e8
prompts_from_file: allow random seeds to be preserved for the list of prompts
2022-11-01 19:45:35 -07:00
Tony Beeman
99d728b5b1
Add Iterate Button and Improve PFF UI
2022-10-26 13:26:35 +03:00
AUTOMATIC
7d6042b908
update for commandline args for btch prompts to parse string properly
2022-10-15 12:00:31 +03:00
AUTOMATIC1111
f42e0aae6d
Merge branch 'master' into master
2022-10-15 10:47:26 +03:00
Tony Beeman
86cb16886f
Pull Request Code Review Fixes
2022-10-09 11:16:38 +03:00
Tony Beeman
e2930f9821
Fix for Prompts_from_file showing extra textbox.
2022-10-09 11:16:38 +03:00
shirase-0
0e77ee24b0
Removed unnecessary library call and added some comments
2022-10-02 00:57:29 +10:00
shirase-0
27fbf3de4a
Added tag parsing for prompts from file
2022-10-02 00:43:24 +10:00
Tony Beeman
ba295b3268
* Fix process_images where the number of images is not a multiple of (batch_size * n_iter), which would cause us to throw an exception.
...
* Add a textbox option to Prompts from file (ease of use and it makes it much easier to use on a mobile device)
* Fix the fact that Prompts from file was sometimes passing an empty batch.
2022-09-17 14:55:54 +03:00
Rickey Bowers Jr
874651e4d2
match one based numbering or other batches
2022-09-15 18:56:52 +03:00
AUTOMATIC
afbb3504da
Prompts from file not working #379
2022-09-13 09:41:38 +03:00
AUTOMATIC
095830e1e8
Prompts from file. How to? #248
2022-09-12 19:13:03 +03:00