mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-07-24 17:42:36 +00:00

attach an observer of gallery when generation in progress, if there was a image selected in gallery and gallery has only 1 image, auto re-select/open that image. This matches behavior of prior to Gradio 3.4.1 version bump, is a quality of life feature many people enjoyed.