Skip to content

Commit b24aed0

Browse files
Merge pull request #4960 from Hugo-Matias/master
fix null negative_prompt on get requests
2 parents 8c13f3a + c27a973 commit b24aed0

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
@@ -310,7 +310,7 @@ def get_promp_styles(self):
310310
styleList = []
311311
for k in shared.prompt_styles.styles:
312312
style = shared.prompt_styles.styles[k]
313-
styleList.append({"name":style[0], "prompt": style[1], "negative_prompr": style[2]})
313+
styleList.append({"name":style[0], "prompt": style[1], "negative_prompt": style[2]})
314314

315315
return styleList
316316

0 commit comments

Comments
 (0)