mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix typo
Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>
This commit is contained in:
parent
cff91f06d3
commit
0d3c27f46c
@ -307,7 +307,7 @@ class SDXLLoraLoaderInvocation(BaseInvocation):
|
||||
model_name=lora_name,
|
||||
model_type=ModelType.Lora,
|
||||
):
|
||||
raise Exception(f"Unkown lora name: {lora_name}!")
|
||||
raise Exception(f"Unknown lora name: {lora_name}!")
|
||||
|
||||
if self.unet is not None and any(lora.model_name == lora_name for lora in self.unet.loras):
|
||||
raise Exception(f'Lora "{lora_name}" already applied to unet')
|
||||
|
Loading…
Reference in New Issue
Block a user