mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Update probe.py
Minor case-sensitive typo. `ModelType.Lora` should be `ModelType.LoRA`
This commit is contained in:
parent
cf0c7d66ed
commit
37fd57d4d9
@ -227,7 +227,7 @@ class ModelProbe(object):
|
||||
elif any(key.startswith(v) for v in {"lora_te_", "lora_unet_"}):
|
||||
return ModelType.LoRA
|
||||
elif any(key.endswith(v) for v in {"to_k_lora.up.weight", "to_q_lora.down.weight"}):
|
||||
return ModelType.Lora
|
||||
return ModelType.LoRA
|
||||
elif any(key.startswith(v) for v in {"controlnet", "control_model", "input_blocks"}):
|
||||
return ModelType.ControlNet
|
||||
elif key in {"emb_params", "string_to_param"}:
|
||||
|
Loading…
Reference in New Issue
Block a user