mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 19:01:06 -08:00
bugfix for warning message (#6)
This commit is contained in:
parent
9621ca4d64
commit
1c64bb7140
1 changed files with 1 additions and 1 deletions
|
|
@ -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("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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue