diff options
author | JohannesGaessler <johannesg@5d6.de> | 2022-09-08 15:37:13 +0200 |
---|---|---|
committer | JohannesGaessler <johannesg@5d6.de> | 2022-09-08 17:05:17 +0200 |
commit | f211c498b9d496222aa36360193e0f690053dfa4 (patch) | |
tree | f215cb60083359e2679f8e38244d005cccf64725 /modules/img2img.py | |
parent | ad02b249f5bf8e494c35a313f44515b7b1e6739d (diff) |
More informative progress printing
Diffstat (limited to 'modules/img2img.py')
-rw-r--r-- | modules/img2img.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/img2img.py b/modules/img2img.py index c2392305..b5f3def3 100644 --- a/modules/img2img.py +++ b/modules/img2img.py @@ -52,6 +52,7 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index inpainting_mask_invert=inpainting_mask_invert,
extra_generation_params={"Denoising Strength": denoising_strength}
)
+ print(f"\nimg2img: {prompt}", file=shared.progress_print_out)
if is_loopback:
output_images, info = None, None
@@ -168,5 +169,6 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index if processed is None:
processed = process_images(p)
+ shared.total_tqdm.clear()
return processed.images, processed.js(), plaintext_to_html(processed.info)
|