mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
added a button to run hires fix on selected image in the gallery
This commit is contained in:
parent
5d7d1823af
commit
501993ebf2
6 changed files with 160 additions and 86 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue