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"]=""
|
j["prompts"]["negPrompt"]=""
|
||||||
|
|
||||||
if "prePrompt" not in j:
|
if "prePrompt" not in j:
|
||||||
j["prompts"]["prePrompt"]=""
|
j["prePrompt"]=""
|
||||||
|
|
||||||
if "postPrompt" not in j:
|
if "postPrompt" not in j:
|
||||||
j["prompts"]["postPrompt"]=""
|
j["postPrompt"]=""
|
||||||
|
|
||||||
return j
|
return j
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue