mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-05-01 03:31:47 +00:00
make process_boolean_tag case insensitive
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user