mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-26 10:59:58 +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):
|
||||
"""true|false"""
|
||||
return True if (tag == "true") else False
|
||||
return True if (tag.lower() == "true") else False
|
||||
|
||||
|
||||
prompt_tags = {
|
||||
|
||||
Reference in New Issue
Block a user