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

This commit is contained in:
AngelBottomless 2023-11-15 14:26:37 +09:00 committed by GitHub
parent 5e80d9ee99
commit a292d2c47f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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), ''