aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-11-27 13:36:29 +0000
committerGitHub <noreply@github.com>2022-11-27 13:36:29 +0000
commitb24aed0b69e55285e9f0dcc4495d1b22e96ee1dc (patch)
tree4685c3c8647139e77a7a4dae1fb0e9c3fcdebe23 /modules
parent8c13f3a2a56b2ab8d6ff0bc5b2ffe0313e74f323 (diff)
parentc27a973c82c374f47fb279c1b9b8de7288fd729d (diff)
downloadstable-diffusion-webui-gfx803-b24aed0b69e55285e9f0dcc4495d1b22e96ee1dc.tar.gz
stable-diffusion-webui-gfx803-b24aed0b69e55285e9f0dcc4495d1b22e96ee1dc.tar.bz2
stable-diffusion-webui-gfx803-b24aed0b69e55285e9f0dcc4495d1b22e96ee1dc.zip
Merge pull request #4960 from Hugo-Matias/master
fix null negative_prompt on get requests
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 efcedbba..f959d473 100644
--- a/modules/api/api.py
+++ b/modules/api/api.py
@@ -310,7 +310,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