Merge pull request #16085 from light-and-ray/stoping_generation_extras

stoping generation extras
This commit is contained in:
AUTOMATIC1111 2024-07-06 09:53:03 +03:00 committed by GitHub
commit 50514ce414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir,
shared.state.textinfo = name
shared.state.skipped = False
if shared.state.interrupted:
if shared.state.interrupted or shared.state.stopping_generation:
break
if isinstance(image_placeholder, str):