rename hypernetwork dir to hypernetworks to prevent clash with an old filename that people who use zip instead of git clone will have

This commit is contained in:
AUTOMATIC
2022-10-11 15:51:22 +03:00
parent a004d1a855
commit 873efeed49
8 changed files with 7 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ def apply_optimizations():
def undo_optimizations():
from modules.hypernetwork import hypernetwork
from modules.hypernetworks import hypernetwork
ldm.modules.attention.CrossAttention.forward = hypernetwork.attention_CrossAttention_forward
ldm.modules.diffusionmodules.model.nonlinearity = diffusionmodules_model_nonlinearity