diff options
author | KyuSeok Jung <wjdrbtjr495@gmail.com> | 2022-11-02 17:10:56 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 17:10:56 +0900 |
commit | af6fba247553e670ef5e2dcc1866279f9f065d6d (patch) | |
tree | 160b205b1c11025b0195c3857c8a73cccc0c80c5 /modules/txt2img.py | |
parent | 467cae167a3066ffa2b2a5e6f16dd42642219aba (diff) | |
parent | 95c6308ccd2e075d1fb804f5b98a4f0b07b87b7d (diff) |
Merge branch '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()
|