mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
resolved merge conflicts
This commit is contained in:
commit
37609d6e53
@ -169,10 +169,12 @@ def main_loop(t2i,parser,log,infile):
|
|||||||
if opt.init_img is None:
|
if opt.init_img is None:
|
||||||
results = t2i.txt2img(**vars(opt))
|
results = t2i.txt2img(**vars(opt))
|
||||||
else:
|
else:
|
||||||
|
assert os.path.exists(opt.init_img),f"No file found at {opt.init_img}. On Linux systems, pressing <tab> after -I will autocomplete a list of possible image files."
|
||||||
results = t2i.img2img(**vars(opt))
|
results = t2i.img2img(**vars(opt))
|
||||||
except AssertionError as e:
|
except AssertionError as e:
|
||||||
print(e)
|
print(e)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
print("Outputs:")
|
print("Outputs:")
|
||||||
write_log_message(t2i,opt,results,log)
|
write_log_message(t2i,opt,results,log)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user