Commit c27a973c authored by Rogerooo's avatar Rogerooo

fix null negative_prompt on get requests

Small typo that causes a bug when returning negative prompts from the get request.
parent 828438b4
...@@ -305,7 +305,7 @@ class Api: ...@@ -305,7 +305,7 @@ class Api:
styleList = [] styleList = []
for k in shared.prompt_styles.styles: for k in shared.prompt_styles.styles:
style = shared.prompt_styles.styles[k] 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 return styleList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment