aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hypernetworks/ui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-11-05 13:20:40 +0000
committerGitHub <noreply@github.com>2022-11-05 13:20:40 +0000
commit37ba0070ec14d35addf00f6ae88b7b6c7a1c8ae6 (patch)
treebaaf04c26d2bd325d322084ae7fc4ba367836753 /modules/hypernetworks/ui.py
parentb8435e632f7ba0da12a2c8e9c788dda519279d24 (diff)
parentc9b2eef6a3b986fafdd1c13a3fb14969cbe909ca (diff)
downloadstable-diffusion-webui-gfx803-37ba0070ec14d35addf00f6ae88b7b6c7a1c8ae6.tar.gz
stable-diffusion-webui-gfx803-37ba0070ec14d35addf00f6ae88b7b6c7a1c8ae6.tar.bz2
stable-diffusion-webui-gfx803-37ba0070ec14d35addf00f6ae88b7b6c7a1c8ae6.zip
Merge branch 'master' into feat/allow-origins
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.