Merge pull request #4178 from HeyImKyu/PreviewOnBatchCompletion

Added option to preview Created images on batch completion.
This commit is contained in:
AUTOMATIC1111
2022-11-04 10:59:27 +03:00
committed by GitHub
2 changed files with 17 additions and 10 deletions

View File

@@ -276,7 +276,7 @@ def check_progress_call(id_part):
image = gr_show(False)
preview_visibility = gr_show(False)
if opts.show_progress_every_n_steps > 0:
if opts.show_progress_every_n_steps != 0:
shared.state.set_current_image()
image = shared.state.current_image