diff options
author | MisterSeajay <cjj1977@users.noreply.github.com> | 2023-11-27 12:03:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 12:03:42 +0000 |
commit | a75314b41f938d1e598916ecdd0f14126ae1876b (patch) | |
tree | 7d99f246f8f1d2e5ea97d6502dcb49ae8674d818 /modules/styles.py | |
parent | 1c64bb71402c2cd62ac98f936203437f0c4fcd02 (diff) | |
download | stable-diffusion-webui-gfx803-a75314b41f938d1e598916ecdd0f14126ae1876b.tar.gz stable-diffusion-webui-gfx803-a75314b41f938d1e598916ecdd0f14126ae1876b.tar.bz2 stable-diffusion-webui-gfx803-a75314b41f938d1e598916ecdd0f14126ae1876b.zip |
bugfix for warning message (#6)
* bugfix for warning message
* bugfix error message
Diffstat (limited to 'modules/styles.py')
-rw-r--r-- | modules/styles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/styles.py b/modules/styles.py index e73920c7..4d218cd7 100644 --- a/modules/styles.py +++ b/modules/styles.py @@ -66,7 +66,7 @@ def unwrap_style_text_from_prompt(style_text, prompt): except ValueError as e:
# If the style text has multple "{prompt}"s, we can't split it into
# two parts. This is an error, but we can't do anything about it.
- print(f"Unable to compare style text to prompt:`n{style_text}")
+ print(f"Unable to compare style text to prompt:\n{style_text}")
print(f"Error: {e}")
return False, prompt
if stripped_prompt.startswith(left) and stripped_prompt.endswith(right):
|