allow for empty prompts (useful for inpaint removal)

This commit is contained in:
Lincoln Stein 2022-10-25 17:26:00 -04:00
parent ca2f579f43
commit 8d5a225011

View File

@ -171,9 +171,9 @@ def main_loop(gen, opt):
except (OSError, AttributeError, KeyError):
pass
if len(opt.prompt) == 0:
print('\nTry again with a prompt!')
continue
# if len(opt.prompt) == 0:
# print('\nTry again with a prompt!')
# continue
# width and height are set by model if not specified
if not opt.width: