aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hypernetworks/ui.py
diff options
context:
space:
mode:
authorpapuSpartan <30642826+papuSpartan@users.noreply.github.com>2022-11-07 03:05:28 +0000
committerGitHub <noreply@github.com>2022-11-07 03:05:28 +0000
commit00ebc26c4e2962a31e067539d89cd695d999539a (patch)
tree4c2d46e00ffcc5b606f4841926b3a61fed903f00 /modules/hypernetworks/ui.py
parent86d35526a13a0e2432ab71d1d40b191615d3e343 (diff)
parent804d9fb83d0c63ca3acd36378707ce47b8f12599 (diff)
downloadstable-diffusion-webui-gfx803-00ebc26c4e2962a31e067539d89cd695d999539a.tar.gz
stable-diffusion-webui-gfx803-00ebc26c4e2962a31e067539d89cd695d999539a.tar.bz2
stable-diffusion-webui-gfx803-00ebc26c4e2962a31e067539d89cd695d999539a.zip
Merge branch 'AUTOMATIC1111:master' into 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.