aboutsummaryrefslogtreecommitdiff
path: root/modules/processing.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-12 16:00:46 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-12 16:00:46 +0300
commita1305060ce9a25ffb4752e2adc43c846a0f45bc5 (patch)
tree266fa9efe5fb435e10846dc74a83c6cb4f48242a /modules/processing.py
parent2938dc39fcbd3cfd81c3634d491c2caf154a9a9a (diff)
Variations are not working properly #305
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index 27445def..1e17d77c 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