mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-09 10:41:15 -08:00
Use .success() callback on img2img preview inputs change
This commit is contained in:
parent
75e7eb9172
commit
c5f9f7c237
3 changed files with 285 additions and 549 deletions
|
|
@ -118,14 +118,6 @@ function get_img2img_tab_index_for_res_preview() {
|
|||
return res
|
||||
}
|
||||
|
||||
function get_img2img_tab_index_for_res_preview() {
|
||||
let res = args_to_array(arguments)
|
||||
res.splice(-1) // gradio also sends outputs to the arguments, pop them off
|
||||
res[0] = get_tab_index('mode_img2img')
|
||||
debugger;
|
||||
return res
|
||||
}
|
||||
|
||||
function create_submit_args(args){
|
||||
res = []
|
||||
for(var i=0;i<args.length;i++){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue