aboutsummaryrefslogtreecommitdiffstats
path: root/extensions-builtin/Lora/network_hada.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-17 06:00:47 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-17 06:00:47 +0000
commit238adeaffb037dedbcefe41e7fd4814a1f17baa2 (patch)
tree901557b4f4814effe18d23900317f7dbabf3e162 /extensions-builtin/Lora/network_hada.py
parent46466f09d0b0c14118033dee6af0f876059776d3 (diff)
downloadstable-diffusion-webui-gfx803-238adeaffb037dedbcefe41e7fd4814a1f17baa2.tar.gz
stable-diffusion-webui-gfx803-238adeaffb037dedbcefe41e7fd4814a1f17baa2.tar.bz2
stable-diffusion-webui-gfx803-238adeaffb037dedbcefe41e7fd4814a1f17baa2.zip
support specifying te and unet weights separately
update lora code support full module
Diffstat (limited to 'extensions-builtin/Lora/network_hada.py')
-rw-r--r--extensions-builtin/Lora/network_hada.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions-builtin/Lora/network_hada.py b/extensions-builtin/Lora/network_hada.py
index 799bb3bc..5fcb0695 100644
--- a/extensions-builtin/Lora/network_hada.py
+++ b/extensions-builtin/Lora/network_hada.py
@@ -1,6 +1,5 @@
import lyco_helpers
import network
-import network_lyco
class ModuleTypeHada(network.ModuleType):
@@ -11,7 +10,7 @@ class ModuleTypeHada(network.ModuleType):
return None
-class NetworkModuleHada(network_lyco.NetworkModuleLyco):
+class NetworkModuleHada(network.NetworkModule):
def __init__(self, net: network.Network, weights: network.NetworkWeights):
super().__init__(net, weights)