Merge pull request #13977 from AUTOMATIC1111/hotfix-postprocessing-state-end

Hotfix: call shared.state.end() after postprocessing done
This commit is contained in:
AUTOMATIC1111 2023-11-19 08:59:32 +03:00 committed by GitHub
commit b945ba716b
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() image_data.close()
devices.torch_gc() devices.torch_gc()
shared.state.end()
return outputs, ui_common.plaintext_to_html(infotext), '' return outputs, ui_common.plaintext_to_html(infotext), ''