aboutsummaryrefslogtreecommitdiff
path: root/modules/hypernetworks/ui.py
diff options
context:
space:
mode:
authorevshiron <evshiron@gmail.com>2022-11-05 22:12:20 +0800
committerevshiron <evshiron@gmail.com>2022-11-05 22:12:20 +0800
commitb6cfaaa20b81d16a978524c952412cfc4d89a414 (patch)
treee0aa306e34e796c79f657d2a73f558de46f80764 /modules/hypernetworks/ui.py
parent73e1cd6f53f3566973805666a4049450cdb8da1b (diff)
parent62e3d71aa778928d63cab81d9d8cde33e55bebb3 (diff)
Merge branch 'master' into fix/encode-pnginfo
Diffstat (limited to 'modules/hypernetworks/ui.py')
-rw-r--r--modules/hypernetworks/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hypernetworks/ui.py b/modules/hypernetworks/ui.py
index aad09ffc..c2d4b51c 100644
--- a/modules/hypernetworks/ui.py
+++ b/modules/hypernetworks/ui.py
@@ -9,7 +9,7 @@ from modules import devices, sd_hijack, shared
from modules.hypernetworks import hypernetwork
not_available = ["hardswish", "multiheadattention"]
-keys = ["linear"] + list(x for x in hypernetwork.HypernetworkModule.activation_dict.keys() if x not in not_available)
+keys = list(x for x in hypernetwork.HypernetworkModule.activation_dict.keys() if x not in not_available)
def create_hypernetwork(name, enable_sizes, overwrite_old, layer_structure=None, activation_func=None, weight_init=None, add_layer_norm=False, use_dropout=False):
# Remove illegal characters from name.