mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Update ldm/modules/lora_manager.py
Co-authored-by: neecapp <ryree0@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@ class LoraCondition:
|
||||
name: str
|
||||
weight: float
|
||||
|
||||
def __init__(self, name, weight: float = 1.0, kohya_manager: KohyaLoraManager=None):
|
||||
def __init__(self, name, weight: float = 1.0, kohya_manager: Optional[KohyaLoraManager]=None):
|
||||
self.name = name
|
||||
self.weight = weight
|
||||
self.kohya_manager = kohya_manager
|
||||
|
||||
Reference in New Issue
Block a user