diff options
author | ruocaled <ruocaled@gmail.com> | 2022-10-14 11:05:14 -0700 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-15 09:32:01 +0300 |
commit | 3bd40bb77ff274f2a09efa07b759eebf6dc40b58 (patch) | |
tree | f6353d19592a2f6e5db521128cdba98f93022657 /modules/ui.py | |
parent | c7a86f7fe9c0b8967a87e8d709f507d2f44400d8 (diff) |
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 'modules/ui.py')
0 files changed, 0 insertions, 0 deletions