Add optional lora_metadata parameter to load_lora_for_models

This commit is contained in:
azazeal04 2026-05-19 12:19:15 +02:00 committed by GitHub
parent 70f86cacf8
commit da681f00bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,7 +93,6 @@ def get_twinflow_z_image_config(state_dict):
"architecture": "TwinFlow_Z_Image", "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): def load_lora_for_models(model, clip, lora, strength_model, strength_clip, lora_metadata=None):
key_map = {} key_map = {}
if model is not None: if model is not None: