From f211c498b9d496222aa36360193e0f690053dfa4 Mon Sep 17 00:00:00 2001 From: JohannesGaessler Date: Thu, 8 Sep 2022 15:37:13 +0200 Subject: More informative progress printing --- modules/txt2img.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/txt2img.py') diff --git a/modules/txt2img.py b/modules/txt2img.py index fd81ff0f..410a7a7b 100644 --- a/modules/txt2img.py +++ b/modules/txt2img.py @@ -25,6 +25,7 @@ def txt2img(prompt: str, negative_prompt: str, steps: int, sampler_index: int, r tiling=tiling, ) + print(f"\ntxt2img: {prompt}", file=shared.progress_print_out) processed = modules.scripts.scripts_txt2img.run(p, *args) if processed is not None: @@ -32,5 +33,7 @@ def txt2img(prompt: str, negative_prompt: str, steps: int, sampler_index: int, r else: processed = process_images(p) + shared.total_tqdm.clear() + return processed.images, processed.js(), plaintext_to_html(processed.info) -- cgit v1.2.1