diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-06-05 08:08:57 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-06-05 08:08:57 +0000 |
commit | 18acc0b30d9184702a772287ed8197385e0aed98 (patch) | |
tree | cccb462b08cc14d08ecc52ca3fa8014b9b73d274 | |
parent | 7a7a201d819ea9920a1f067c556ec3998911f01a (diff) | |
download | stable-diffusion-webui-gfx803-18acc0b30d9184702a772287ed8197385e0aed98.tar.gz stable-diffusion-webui-gfx803-18acc0b30d9184702a772287ed8197385e0aed98.tar.bz2 stable-diffusion-webui-gfx803-18acc0b30d9184702a772287ed8197385e0aed98.zip |
revert the message to how it was
-rw-r--r-- | modules/img2img.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/img2img.py b/modules/img2img.py index 3981b783..2c497020 100644 --- a/modules/img2img.py +++ b/modules/img2img.py @@ -23,7 +23,9 @@ def process_batch(p, input_dir, output_dir, inpaint_mask_dir, args, to_scale=Fal if inpaint_mask_dir:
inpaint_masks = shared.listfiles(inpaint_mask_dir)
is_inpaint_batch = bool(inpaint_masks)
- print(f"\nInpaint batch is enabled. {len(inpaint_masks)} masks found.")
+
+ if is_inpaint_batch:
+ print(f"\nInpaint batch is enabled. {len(inpaint_masks)} masks found.")
print(f"Will process {len(images)} images, creating {p.n_iter * p.batch_size} new images for each.")
|