From fbdec2ef201b6bf7f1d501347513bd5dd9e42c79 Mon Sep 17 00:00:00 2001 From: Lukas Meller Date: Fri, 9 Sep 2022 21:55:54 +0200 Subject: Fix prompt matrix script --- modules/processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/processing.py') diff --git a/modules/processing.py b/modules/processing.py index 7e6cd8ee..816fdd18 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -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))] -- cgit v1.2.1