mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-14 22:53:25 +03:00
Merge pull request #6778 from pangbo13/master
Fix unexpected behavior when show_progress_every_n_steps is set to -1
This commit is contained in:
commit
4385449933
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user