aboutsummaryrefslogtreecommitdiffstats
path: root/modules/img2img.py
diff options
context:
space:
mode:
authorKyuSeok Jung <wjdrbtjr495@gmail.com>2022-11-02 08:10:56 +0000
committerGitHub <noreply@github.com>2022-11-02 08:10:56 +0000
commitaf6fba247553e670ef5e2dcc1866279f9f065d6d (patch)
tree160b205b1c11025b0195c3857c8a73cccc0c80c5 /modules/img2img.py
parent467cae167a3066ffa2b2a5e6f16dd42642219aba (diff)
parent95c6308ccd2e075d1fb804f5b98a4f0b07b87b7d (diff)
downloadstable-diffusion-webui-gfx803-af6fba247553e670ef5e2dcc1866279f9f065d6d.tar.gz
stable-diffusion-webui-gfx803-af6fba247553e670ef5e2dcc1866279f9f065d6d.tar.bz2
stable-diffusion-webui-gfx803-af6fba247553e670ef5e2dcc1866279f9f065d6d.zip
Merge branch 'master' into master
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 35c5df9b..fac010aa 100644
--- a/modules/img2img.py
+++ b/modules/img2img.py
@@ -137,6 +137,8 @@ def img2img(mode: int, prompt: str, negative_prompt: str, prompt_style: str, pro
if processed is None:
processed = process_images(p)
+ p.close()
+
shared.total_tqdm.clear()
generation_info_js = processed.js()