bikeshedding

This commit is contained in:
Sean McLellan 2022-08-24 13:36:27 -04:00
parent ca82acfd3b
commit ee10021ea2

View File

@ -183,8 +183,8 @@ def main_loop(t2i,parser,log,infile):
newopt = copy.deepcopy(opt) newopt = copy.deepcopy(opt)
newopt.variants = None newopt.variants = None
for r in results: for r in results:
newopt.init_img = resultPath = r[0] newopt.init_img = r[0]
print(f"\t generating variant for {resultPath}") print(f"\t generating variant for {newopt.init_img}")
for j in range(0, opt.variants): for j in range(0, opt.variants):
try: try:
variantResults = t2i.img2img(**vars(newopt)) variantResults = t2i.img2img(**vars(newopt))