mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-23 07:29:18 -08:00
support specifying te and unet weights separately
update lora code support full module
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user