mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui
synced 2025-01-09 09:57:34 +08:00
hotfix: call shared.state.end() after postprocessing done
This commit is contained in:
parent
5e80d9ee99
commit
a292d2c47f
@ -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), ''
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user