mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-27 17:37:39 +08:00
Add optional lora_metadata parameter to load_lora_for_models
This commit is contained in:
parent
70f86cacf8
commit
da681f00bf
@ -93,7 +93,6 @@ def get_twinflow_z_image_config(state_dict):
|
||||
"architecture": "TwinFlow_Z_Image",
|
||||
}
|
||||
|
||||
def load_lora_for_models(model, clip, lora, strength_model, strength_clip):
|
||||
def load_lora_for_models(model, clip, lora, strength_model, strength_clip, lora_metadata=None):
|
||||
key_map = {}
|
||||
if model is not None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user