diff options
author | ruocaled <ruocaled@gmail.com> | 2022-10-14 18:05:14 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-15 06:32:01 +0000 |
commit | 3bd40bb77ff274f2a09efa07b759eebf6dc40b58 (patch) | |
tree | f6353d19592a2f6e5db521128cdba98f93022657 /scripts/prompt_matrix.py | |
parent | c7a86f7fe9c0b8967a87e8d709f507d2f44400d8 (diff) | |
download | stable-diffusion-webui-gfx803-3bd40bb77ff274f2a09efa07b759eebf6dc40b58.tar.gz stable-diffusion-webui-gfx803-3bd40bb77ff274f2a09efa07b759eebf6dc40b58.tar.bz2 stable-diffusion-webui-gfx803-3bd40bb77ff274f2a09efa07b759eebf6dc40b58.zip |
auto re-open selected image after re-generation
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.
Diffstat (limited to 'scripts/prompt_matrix.py')
0 files changed, 0 insertions, 0 deletions