Unverified Commit 43854499 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub

Merge pull request #6778 from pangbo13/master

Fix unexpected behavior when show_progress_every_n_steps is set to -1
parents 8e2aeee4 388708f7
...@@ -228,7 +228,7 @@ class State: ...@@ -228,7 +228,7 @@ class State:
if not parallel_processing_allowed: if not parallel_processing_allowed:
return return
if self.sampling_step - self.current_image_sampling_step >= opts.show_progress_every_n_steps and opts.live_previews_enable: if self.sampling_step - self.current_image_sampling_step >= opts.show_progress_every_n_steps and opts.live_previews_enable and opts.show_progress_every_n_steps != -1:
self.do_set_current_image() self.do_set_current_image()
def do_set_current_image(self): def do_set_current_image(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment