aboutsummaryrefslogtreecommitdiffstats
path: root/extensions-builtin/Lora/scripts
diff options
context:
space:
mode:
authorKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-08-14 05:34:51 +0000
committerKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-08-14 05:34:51 +0000
commite7c03ccdcefb2a80129703931ef1f8455708945b (patch)
tree6769bdb3a32bdf99cf25422206ff03457bdfa86c /extensions-builtin/Lora/scripts
parentd9cc27cb29926c9cc5dce331da8fbaf996cf4973 (diff)
parent007ecfbb29771aa7cdcf0263ab1811bc75fa5446 (diff)
downloadstable-diffusion-webui-gfx803-e7c03ccdcefb2a80129703931ef1f8455708945b.tar.gz
stable-diffusion-webui-gfx803-e7c03ccdcefb2a80129703931ef1f8455708945b.tar.bz2
stable-diffusion-webui-gfx803-e7c03ccdcefb2a80129703931ef1f8455708945b.zip
Merge branch 'dev' into extra-norm-module
Diffstat (limited to 'extensions-builtin/Lora/scripts')
-rw-r--r--extensions-builtin/Lora/scripts/lora_script.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions-builtin/Lora/scripts/lora_script.py b/extensions-builtin/Lora/scripts/lora_script.py
index dc307f8c..4c6e774a 100644
--- a/extensions-builtin/Lora/scripts/lora_script.py
+++ b/extensions-builtin/Lora/scripts/lora_script.py
@@ -23,9 +23,9 @@ def unload():
def before_ui():
ui_extra_networks.register_page(ui_extra_networks_lora.ExtraNetworksPageLora())
- extra_network = extra_networks_lora.ExtraNetworkLora()
- extra_networks.register_extra_network(extra_network)
- extra_networks.register_extra_network_alias(extra_network, "lyco")
+ networks.extra_network_lora = extra_networks_lora.ExtraNetworkLora()
+ extra_networks.register_extra_network(networks.extra_network_lora)
+ extra_networks.register_extra_network_alias(networks.extra_network_lora, "lyco")
if not hasattr(torch.nn, 'Linear_forward_before_network'):