Hotfix: copy paste, post/preprompts on main level of jason
Signed-off-by: GeorgLegato <bulbul@onlinehome.de>pull/75/head
parent
14b2f4edaa
commit
8da2fb1ba7
|
|
@ -17,10 +17,10 @@ def completeOptionals(j):
|
|||
j["prompts"]["negPrompt"]=""
|
||||
|
||||
if "prePrompt" not in j:
|
||||
j["prompts"]["prePrompt"]=""
|
||||
j["prePrompt"]=""
|
||||
|
||||
if "postPrompt" not in j:
|
||||
j["prompts"]["postPrompt"]=""
|
||||
j["postPrompt"]=""
|
||||
|
||||
return j
|
||||
|
||||
|
|
@ -56,4 +56,4 @@ def readJsonPrompt(txt, returnFailPrompt=False):
|
|||
if returnFailPrompt:
|
||||
return invalid_prompt
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue