space/indent

This commit is contained in:
hlky 2022-09-03 20:59:14 +01:00
parent 93b3a47a74
commit a21ce57de2
No known key found for this signature in database
GPG Key ID: 55A99F1E80D907D5

View File

@ -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]}"