Skip to content

Commit

Permalink
Merge pull request #13977 from AUTOMATIC1111/hotfix-postprocessing-st…
Browse files Browse the repository at this point in the history
…ate-end

Hotfix: call shared.state.end() after postprocessing done
  • Loading branch information
AUTOMATIC1111 authored Nov 19, 2023
2 parents 2207ef3 + a292d2c commit b945ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_images(extras_mode, image, image_folder, input_dir):
image_data.close()

devices.torch_gc()

shared.state.end()
return outputs, ui_common.plaintext_to_html(infotext), ''


Expand Down

0 comments on commit b945ba7

Please sign in to comment.