mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-25 01:03:57 +00:00
prevent styles from adding an extra comma
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user