mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
allow for empty prompts (useful for inpaint removal)
This commit is contained in:
parent
ca2f579f43
commit
8d5a225011
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user