mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-10 04:10:33 -08:00
add alias to lyco network
read networks from LyCORIS dir if it exists add credits
This commit is contained in:
parent
2e07a8ae6b
commit
35510f7529
4 changed files with 21 additions and 4 deletions
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue