mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-03 10:50:23 +00:00
Use .success() callback on img2img preview inputs change
This commit is contained in:
@@ -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++){
|
||||
|
Reference in New Issue
Block a user