prevent styles from adding an extra comma

This commit is contained in:
AUTOMATIC 2022-09-10 00:51:07 +03:00
parent 8e13f54a1d
commit 1fcb48347d

View File

@ -19,6 +19,9 @@ def load_styles(filename):
def apply_style_text(style_text, prompt):
if style_text == "":
return prompt
return prompt + ", " + style_text if prompt else style_text