mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fixed crash that occurs if you type an empty prompt at the dream> prompt
This commit is contained in:
parent
aa2729d868
commit
e1d52822c5
@ -87,6 +87,9 @@ def main_loop(t2i,parser,log):
|
||||
break
|
||||
|
||||
elements = shlex.split(command)
|
||||
if len(elements)==0:
|
||||
continue
|
||||
|
||||
if elements[0]=='q': #
|
||||
done = True
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user