Update config.py

This commit is contained in:
lllyasviel 2023-11-15 02:45:56 -08:00
parent 3a9c3c07d1
commit eae0b71ff9
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ default_refiner_switch = get_config_item_or_set_default(
)
default_loras = get_config_item_or_set_default(
key='default_loras',
default_value=['sd_xl_offset_example-lora_1.0.safetensors', 0.1],
default_value=[['sd_xl_offset_example-lora_1.0.safetensors', 0.1]],
validator=lambda x: isinstance(x, list) and all(len(y) == 2 and isinstance(y[0], str) and isinstance(y[1], float) for y in x)
)
default_cfg_scale = get_config_item_or_set_default(