diff options
author | KyuSeok Jung <wjdrbtjr495@gmail.com> | 2022-11-05 18:08:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 18:08:45 +0000 |
commit | 9b7289c3493ba1f42aa5e7657d385124fec1f112 (patch) | |
tree | 37d86b581d265e06df7112e7a87f514de4702bc6 /modules/hypernetworks/ui.py | |
parent | 45b65e87e0ef64b3e457f7d20c62d591cdcd0e7b (diff) | |
parent | b08698a09a257365238e43cc9023ce7cf9af73c4 (diff) | |
download | stable-diffusion-webui-gfx803-9b7289c3493ba1f42aa5e7657d385124fec1f112.tar.gz stable-diffusion-webui-gfx803-9b7289c3493ba1f42aa5e7657d385124fec1f112.tar.bz2 stable-diffusion-webui-gfx803-9b7289c3493ba1f42aa5e7657d385124fec1f112.zip |
Merge branch 'master' into 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.
|