aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRogerooo <hugo.lopesmatias@gmail.com>2022-11-22 14:02:59 +0000
committerRogerooo <hugo.lopesmatias@gmail.com>2022-11-22 14:02:59 +0000
commitc27a973c82c374f47fb279c1b9b8de7288fd729d (patch)
tree7da145d94ed5611f838240585347f56f2f0aecf9 /modules
parent828438b4a190759807f9054932cae3a8b880ddf1 (diff)
fix null negative_prompt on get requests
Small typo that causes a bug when returning negative prompts from the get request.
Diffstat (limited to 'modules')
-rw-r--r--modules/api/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/api/api.py b/modules/api/api.py
index 7a567be3..08e03c13 100644
--- a/modules/api/api.py
+++ b/modules/api/api.py
@@ -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