aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelBottomless <aria1th@naver.com>2023-11-15 14:26:37 +0900
committerGitHub <noreply@github.com>2023-11-15 14:26:37 +0900
commita292d2c47f51fc71cc186709bdf3706f0944b7d6 (patch)
tree65e80c1d834e62240ad890836d7b15090b2ff709
parent5e80d9ee99c5899e5e2b130408ffb65a0585a62a (diff)
hotfix: call shared.state.end() after postprocessing done
-rw-r--r--modules/postprocessing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/postprocessing.py b/modules/postprocessing.py
index cf04d38b..fd0c0cc9 100644
--- a/modules/postprocessing.py
+++ b/modules/postprocessing.py
@@ -78,7 +78,7 @@ def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir,
image_data.close()
devices.torch_gc()
-
+ shared.state.end()
return outputs, ui_common.plaintext_to_html(infotext), ''