From 8d5a2250117b8542bddce3e1733207382051f326 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Tue, 25 Oct 2022 17:26:00 -0400 Subject: [PATCH] allow for empty prompts (useful for inpaint removal) --- scripts/invoke.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/invoke.py b/scripts/invoke.py index faa85de80e..466536bc46 100644 --- a/scripts/invoke.py +++ b/scripts/invoke.py @@ -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: