stoping generation extras

This commit is contained in:
Andray 2024-06-25 05:33:07 +04:00
parent a30b19dd55
commit 5d9f1e6a43

View File

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