diff options
author | Bruno Seoane <breyxxi@gmail.com> | 2022-11-05 18:56:41 +0000 |
---|---|---|
committer | Bruno Seoane <breyxxi@gmail.com> | 2022-11-05 18:56:41 +0000 |
commit | 59ec427dff84365588a51eb6454f3be47b74fea1 (patch) | |
tree | b0e4a5eef633e4ec9f3f663f45752058d2bba716 /modules/hypernetworks/ui.py | |
parent | fd66f669ea25bad1409aec87ef14b8417009bddc (diff) | |
parent | b08698a09a257365238e43cc9023ce7cf9af73c4 (diff) | |
download | stable-diffusion-webui-gfx803-59ec427dff84365588a51eb6454f3be47b74fea1.tar.gz stable-diffusion-webui-gfx803-59ec427dff84365588a51eb6454f3be47b74fea1.tar.bz2 stable-diffusion-webui-gfx803-59ec427dff84365588a51eb6454f3be47b74fea1.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'modules/hypernetworks/ui.py')
-rw-r--r-- | modules/hypernetworks/ui.py | 2 |
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.
|