diff options
author | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-08-14 05:34:51 +0000 |
---|---|---|
committer | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-08-14 05:34:51 +0000 |
commit | e7c03ccdcefb2a80129703931ef1f8455708945b (patch) | |
tree | 6769bdb3a32bdf99cf25422206ff03457bdfa86c /extensions-builtin/Lora/scripts | |
parent | d9cc27cb29926c9cc5dce331da8fbaf996cf4973 (diff) | |
parent | 007ecfbb29771aa7cdcf0263ab1811bc75fa5446 (diff) | |
download | stable-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.py | 6 |
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'):
|