mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-11-21 03:11:40 +08:00
make process_boolean_tag case insensitive
This commit is contained in:
parent
f8395750f4
commit
9bc3332d86
@ -34,7 +34,7 @@ def process_float_tag(tag):
|
||||
|
||||
def process_boolean_tag(tag):
|
||||
"""true|false"""
|
||||
return True if (tag == "true") else False
|
||||
return True if (tag.lower() == "true") else False
|
||||
|
||||
|
||||
prompt_tags = {
|
||||
|
Loading…
Reference in New Issue
Block a user