mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-27 12:21:38 -08:00
images history over
This commit is contained in:
parent
8a7c07a214
commit
23f2989799
4 changed files with 94 additions and 184 deletions
|
|
@ -58,9 +58,9 @@ function set_history_index_from_img(e){
|
|||
}
|
||||
}
|
||||
}
|
||||
function images_history_get_current_img(is_image2image){
|
||||
function images_history_get_current_img(is_image2image, image_path, files){
|
||||
head = is_image2image?"img2img":"txt2img"
|
||||
s = $(gradioApp().getElementById(head + '_images_history_set_index')).attr("img_index")
|
||||
return s
|
||||
return [s, image_path, files]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue