stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Add infotext to save_images_before_highres_fix

Open timntorres opened this issue 3 years ago • 1 comments

Fixes #4209: ~~Saving before highres fix now saves images before upscaling when use_scale_latent_for_hires_fix is enabled.~~ (Previous sentence was patched in f674c48.) Saving before highres fix now supports infotext.

To get infotext to work, the sample function needed to accept the argument "iteration". I replicated the style of keeping all the arguments the same for all versions of sample. Like what was done with "prompts" in eb5e82c, I just added argument "iteration".

timntorres avatar Nov 03 '22 11:11 timntorres

It seems f674c48 fixed the ordering issue. I renamed this pr to reflect the issue it still resolves.

timntorres avatar Nov 04 '22 20:11 timntorres

i made an implementation of this without adding an extra argument to functions

AUTOMATIC1111 avatar Jan 04 '23 14:01 AUTOMATIC1111