mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui
synced 2025-01-08 12:07:30 +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):
|
def process_boolean_tag(tag):
|
||||||
"""true|false"""
|
"""true|false"""
|
||||||
return True if (tag == "true") else False
|
return True if (tag.lower() == "true") else False
|
||||||
|
|
||||||
|
|
||||||
prompt_tags = {
|
prompt_tags = {
|
||||||
|
Loading…
Reference in New Issue
Block a user