mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-15 07:12:58 +03:00
space/indent
This commit is contained in:
parent
93b3a47a74
commit
a21ce57de2
6
webui.py
6
webui.py
@ -944,9 +944,9 @@ def process_images(
|
|||||||
for i, x_sample in enumerate(x_samples_ddim):
|
for i, x_sample in enumerate(x_samples_ddim):
|
||||||
sanitized_prompt = prompts[i].replace(' ', '_').translate({ord(x): '' for x in invalid_filename_chars})
|
sanitized_prompt = prompts[i].replace(' ', '_').translate({ord(x): '' for x in invalid_filename_chars})
|
||||||
if variant_seed != None and variant_seed != '':
|
if variant_seed != None and variant_seed != '':
|
||||||
if variant_amount == 0.0:
|
if variant_amount == 0.0:
|
||||||
seed_used = f"{current_seeds[i]}-{variant_seed}"
|
seed_used = f"{current_seeds[i]}-{variant_seed}"
|
||||||
else:
|
else:
|
||||||
seed_used = f"{seed}-{variant_seed}"
|
seed_used = f"{seed}-{variant_seed}"
|
||||||
else:
|
else:
|
||||||
seed_used = f"{current_seeds[i]}"
|
seed_used = f"{current_seeds[i]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user