read infotext params from the other extension for Lora if it's not active

This commit is contained in:
AUTOMATIC
2023-05-08 07:28:30 +03:00
parent 2cb3b0be1d
commit 2473bafa67
2 changed files with 36 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ torch.nn.MultiheadAttention._load_from_state_dict = lora.lora_MultiheadAttention
script_callbacks.on_model_loaded(lora.assign_lora_names_to_compvis_modules)
script_callbacks.on_script_unloaded(unload)
script_callbacks.on_before_ui(before_ui)
script_callbacks.on_infotext_pasted(lora.infotext_pasted)
shared.options_templates.update(shared.options_section(('extra_networks', "Extra Networks"), {