mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-28 02:54:53 +08:00
use "outdir_samples" if specified
This commit is contained in:
parent
cd28465bf8
commit
0da6c18099
@ -97,7 +97,9 @@ def delete_image(delete_num, tabname, dir_name, name, page_index, filenames, ima
|
|||||||
|
|
||||||
|
|
||||||
def show_images_history(gr, opts, tabname, run_pnginfo, switch_dict):
|
def show_images_history(gr, opts, tabname, run_pnginfo, switch_dict):
|
||||||
if tabname == "txt2img":
|
if opts.outdir_samples != "":
|
||||||
|
dir_name = opts.outdir_samples
|
||||||
|
elif tabname == "txt2img":
|
||||||
dir_name = opts.outdir_txt2img_samples
|
dir_name = opts.outdir_txt2img_samples
|
||||||
elif tabname == "img2img":
|
elif tabname == "img2img":
|
||||||
dir_name = opts.outdir_img2img_samples
|
dir_name = opts.outdir_img2img_samples
|
||||||
|
Loading…
Reference in New Issue
Block a user