added a button to run hires fix on selected image in the gallery

This commit is contained in:
AUTOMATIC1111
2024-01-01 19:31:06 +03:00
parent 5d7d1823af
commit 501993ebf2
6 changed files with 160 additions and 86 deletions

View File

@@ -150,6 +150,14 @@ function submit() {
return res;
}
function submit_txt2img_upscale() {
res = submit.apply(null, arguments);
res[2] = selected_gallery_index();
return res;
}
function submit_img2img() {
showSubmitButtons('img2img', false);