aboutsummaryrefslogtreecommitdiffstats
path: root/modules/img2img.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-09-08 15:34:45 +0000
committerGitHub <noreply@github.com>2022-09-08 15:34:45 +0000
commit701f76b29ab8fa9c1d35ae8abce36b99e12d5d08 (patch)
tree3e33549ed05939484f9f476cb6fa14df87903fb4 /modules/img2img.py
parent20b86e81c397a885b8e6ea4fe3af63c73b86afc0 (diff)
parentf211c498b9d496222aa36360193e0f690053dfa4 (diff)
downloadstable-diffusion-webui-gfx803-701f76b29ab8fa9c1d35ae8abce36b99e12d5d08.tar.gz
stable-diffusion-webui-gfx803-701f76b29ab8fa9c1d35ae8abce36b99e12d5d08.tar.bz2
stable-diffusion-webui-gfx803-701f76b29ab8fa9c1d35ae8abce36b99e12d5d08.zip
Merge pull request #158 from JohannesGaessler/progress-printing
More informative progress printing
Diffstat (limited to 'modules/img2img.py')
-rw-r--r--modules/img2img.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/img2img.py b/modules/img2img.py
index a4acdb22..0c91ef3f 100644
--- a/modules/img2img.py
+++ b/modules/img2img.py
@@ -55,6 +55,7 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index
"Denoising strength change factor": denoising_strength_change_factor
}
)
+ print(f"\nimg2img: {prompt}", file=shared.progress_print_out)
if is_loopback:
output_images, info = None, None
@@ -171,5 +172,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)