Skip to content

Commit c27a973

Browse files
committed
fix null negative_prompt on get requests
Small typo that causes a bug when returning negative prompts from the get request.
1 parent 828438b commit c27a973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/api/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def get_promp_styles(self):
305305
styleList = []
306306
for k in shared.prompt_styles.styles:
307307
style = shared.prompt_styles.styles[k]
308-
styleList.append({"name":style[0], "prompt": style[1], "negative_prompr": style[2]})
308+
styleList.append({"name":style[0], "prompt": style[1], "negative_prompt": style[2]})
309309

310310
return styleList
311311

0 commit comments

Comments
 (0)