diff options
author | papuSpartan <30642826+papuSpartan@users.noreply.github.com> | 2022-11-07 03:05:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 03:05:28 +0000 |
commit | 00ebc26c4e2962a31e067539d89cd695d999539a (patch) | |
tree | 4c2d46e00ffcc5b606f4841926b3a61fed903f00 /modules/txt2img.py | |
parent | 86d35526a13a0e2432ab71d1d40b191615d3e343 (diff) | |
parent | 804d9fb83d0c63ca3acd36378707ce47b8f12599 (diff) | |
download | stable-diffusion-webui-gfx803-00ebc26c4e2962a31e067539d89cd695d999539a.tar.gz stable-diffusion-webui-gfx803-00ebc26c4e2962a31e067539d89cd695d999539a.tar.bz2 stable-diffusion-webui-gfx803-00ebc26c4e2962a31e067539d89cd695d999539a.zip |
Merge branch 'AUTOMATIC1111:master' into master
Diffstat (limited to 'modules/txt2img.py')
-rw-r--r-- | modules/txt2img.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/txt2img.py b/modules/txt2img.py index c9d5a090..8e4e8677 100644 --- a/modules/txt2img.py +++ b/modules/txt2img.py @@ -47,6 +47,8 @@ def txt2img(prompt: str, negative_prompt: str, prompt_style: str, prompt_style2: if processed is None:
processed = process_images(p)
+ p.close()
+
shared.total_tqdm.clear()
generation_info_js = processed.js()
|