From a1305060ce9a25ffb4752e2adc43c846a0f45bc5 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Mon, 12 Sep 2022 16:00:46 +0300 Subject: [PATCH] Variations are not working properly #305 --- modules/processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/processing.py b/modules/processing.py index 27445def3..1e17d77cf 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -174,7 +174,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed: if type(p.seed) == list: all_seeds = p.seed else: - all_seeds = [int(p.seed + x) for x in range(len(all_prompts))] + all_seeds = [int(p.seed + (x if p.subseed_strength == 0 else 0)) for x in range(len(all_prompts))] if type(p.subseed) == list: all_subseeds = p.subseed