mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 05:12:35 +00:00
removed the option to use 2x more memory when generating previews
added an option to always only show one image in previews removed duplicate code
This commit is contained in:
@@ -318,10 +318,10 @@ def check_progress_call(id_part):
|
||||
if shared.parallel_processing_allowed:
|
||||
|
||||
if shared.state.sampling_step - shared.state.current_image_sampling_step >= opts.show_progress_every_n_steps and shared.state.current_latent is not None:
|
||||
if opts.progress_decode_combined:
|
||||
shared.state.current_image = modules.sd_samplers.samples_to_image_grid_combined(shared.state.current_latent)
|
||||
else:
|
||||
if opts.show_progress_grid:
|
||||
shared.state.current_image = modules.sd_samplers.samples_to_image_grid(shared.state.current_latent)
|
||||
else:
|
||||
shared.state.current_image = modules.sd_samplers.sample_to_image(shared.state.current_latent)
|
||||
shared.state.current_image_sampling_step = shared.state.sampling_step
|
||||
|
||||
image = shared.state.current_image
|
||||
|
Reference in New Issue
Block a user