fix null negative_prompt on get requests

Small typo that causes a bug when returning negative prompts from the get request.
This commit is contained in:
Rogerooo 2022-11-22 14:02:59 +00:00
parent 828438b4a1
commit c27a973c82

View File

@ -305,7 +305,7 @@ class Api:
styleList = []
for k in shared.prompt_styles.styles:
style = shared.prompt_styles.styles[k]
styleList.append({"name":style[0], "prompt": style[1], "negative_prompr": style[2]})
styleList.append({"name":style[0], "prompt": style[1], "negative_prompt": style[2]})
return styleList