mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 03:10:21 +00:00
Fix prompt matrix script
This commit is contained in:

committed by
AUTOMATIC1111

parent
89f4bb3ca1
commit
fbdec2ef20
@@ -176,7 +176,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
|
||||
all_prompts = p.batch_size * p.n_iter * [p.prompt]
|
||||
|
||||
if type(p.seed) == list:
|
||||
all_seeds = int(p.seed)
|
||||
all_seeds = p.seed
|
||||
else:
|
||||
all_seeds = [int(p.seed + x) for x in range(len(all_prompts))]
|
||||
|
||||
|
Reference in New Issue
Block a user