Skip to content

Commit

Permalink
space/indent
Browse files Browse the repository at this point in the history
  • Loading branch information
hlky committed Sep 3, 2022
1 parent 93b3a47 commit a21ce57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,9 +944,9 @@ def process_images(
for i, x_sample in enumerate(x_samples_ddim):
sanitized_prompt = prompts[i].replace(' ', '_').translate({ord(x): '' for x in invalid_filename_chars})
if variant_seed != None and variant_seed != '':
if variant_amount == 0.0:
seed_used = f"{current_seeds[i]}-{variant_seed}"
else:
if variant_amount == 0.0:
seed_used = f"{current_seeds[i]}-{variant_seed}"
else:
seed_used = f"{seed}-{variant_seed}"
else:
seed_used = f"{current_seeds[i]}"
Expand Down

0 comments on commit a21ce57

Please sign in to comment.