ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Allow no preview model for latent_preview

Open mie00 opened this issue 2 years ago • 0 comments

This makes it easy for modules to show progress bar without preview Example usage:

callback = latent_preview.prepare_callback(None, len(image))

to initialize and then to use

callback(i, None, None, len(p.init_images))

to update the bar.

mie00 avatar Dec 24 '23 10:12 mie00