Variations are not working properly #305

This commit is contained in:
AUTOMATIC 2022-09-12 16:00:46 +03:00
parent 2938dc39fc
commit a1305060ce

View file

@ -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