aboutsummaryrefslogtreecommitdiff
path: root/modules/hypernetworks/ui.py
diff options
context:
space:
mode:
authorBruno Seoane <breyxxi@gmail.com>2022-11-05 15:56:41 -0300
committerBruno Seoane <breyxxi@gmail.com>2022-11-05 15:56:41 -0300
commit59ec427dff84365588a51eb6454f3be47b74fea1 (patch)
treeb0e4a5eef633e4ec9f3f663f45752058d2bba716 /modules/hypernetworks/ui.py
parentfd66f669ea25bad1409aec87ef14b8417009bddc (diff)
parentb08698a09a257365238e43cc9023ce7cf9af73c4 (diff)
Merge remote-tracking branch 'upstream/master'
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.