diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-12 13:00:46 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-12 13:00:46 +0000 |
commit | a1305060ce9a25ffb4752e2adc43c846a0f45bc5 (patch) | |
tree | 266fa9efe5fb435e10846dc74a83c6cb4f48242a | |
parent | 2938dc39fcbd3cfd81c3634d491c2caf154a9a9a (diff) | |
download | stable-diffusion-webui-gfx803-a1305060ce9a25ffb4752e2adc43c846a0f45bc5.tar.gz stable-diffusion-webui-gfx803-a1305060ce9a25ffb4752e2adc43c846a0f45bc5.tar.bz2 stable-diffusion-webui-gfx803-a1305060ce9a25ffb4752e2adc43c846a0f45bc5.zip |
Variations are not working properly #305
-rw-r--r-- | modules/processing.py | 2 |
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
|