Commit a292d2c4 authored by AngelBottomless's avatar AngelBottomless Committed by GitHub

hotfix: call shared.state.end() after postprocessing done

parent 5e80d9ee
......@@ -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), ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment