Remove ip2p now that it's part of img2img
The ip2p directory and fields are redundant now, instruct-pix2pix extension with it's directory is now outdated as main repo support edit models and uses img2imgpull/13/head
parent
88bc2d17d9
commit
fb2930ea09
|
|
@ -476,19 +476,12 @@ def create_tab(tabname):
|
||||||
custom_dir = False
|
custom_dir = False
|
||||||
path_recorder = {}
|
path_recorder = {}
|
||||||
path_recorder_formatted = []
|
path_recorder_formatted = []
|
||||||
|
|
||||||
try:
|
|
||||||
if opts.outdir_ip2p_samples:
|
|
||||||
ip2p_dirname = opts.outdir_ip2p_samples
|
|
||||||
except AttributeError:
|
|
||||||
ip2p_dirname = "outputs/ip2p-images"
|
|
||||||
|
|
||||||
if tabname == "txt2img":
|
if 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
|
||||||
elif tabname == "instruct-pix2pix":
|
|
||||||
dir_name = ip2p_dirname
|
|
||||||
elif tabname == "txt2img-grids": #added by HaylockGrant to add a new tab for grid images
|
elif tabname == "txt2img-grids": #added by HaylockGrant to add a new tab for grid images
|
||||||
dir_name = opts.outdir_txt2img_grids
|
dir_name = opts.outdir_txt2img_grids
|
||||||
elif tabname == "img2img-grids": #added by HaylockGrant to add a new tab for grid images
|
elif tabname == "img2img-grids": #added by HaylockGrant to add a new tab for grid images
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue