add alias to lyco network

read networks from LyCORIS dir if it exists
add credits
This commit is contained in:
AUTOMATIC1111
2023-07-17 10:06:02 +03:00
parent 2e07a8ae6b
commit 35510f7529
4 changed files with 21 additions and 4 deletions

View File

@@ -22,7 +22,10 @@ def unload():
def before_ui():
ui_extra_networks.register_page(ui_extra_networks_lora.ExtraNetworksPageLora())
extra_networks.register_extra_network(extra_networks_lora.ExtraNetworkLora())
extra_network = extra_networks_lora.ExtraNetworkLora()
extra_networks.register_extra_network(extra_network)
extra_networks.register_extra_network_alias(extra_network, "lyco")
if not hasattr(torch.nn, 'Linear_forward_before_network'):