mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-14 14:45:06 +03:00
Update lora.py
This commit is contained in:
parent
c84c9df737
commit
2f0181405f
@ -178,6 +178,7 @@ def load_loras(names, multipliers=None):
|
||||
|
||||
|
||||
def lora_forward(module, input, res):
|
||||
input = devices.cond_cast_unet(input)
|
||||
if len(loaded_loras) == 0:
|
||||
return res
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user