diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-11-26 13:45:57 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-11-26 13:45:57 +0000 |
commit | 64c7b7975cedeb2aaa1a9c8eb4a479fc575843f8 (patch) | |
tree | de42cf84bc0a1973abbdb14b32bcea390d3c1081 /modules/ui.py | |
parent | 1123f52cadf8d86c006177791b3191e5b8388b5a (diff) | |
download | stable-diffusion-webui-gfx803-64c7b7975cedeb2aaa1a9c8eb4a479fc575843f8.tar.gz stable-diffusion-webui-gfx803-64c7b7975cedeb2aaa1a9c8eb4a479fc575843f8.tar.bz2 stable-diffusion-webui-gfx803-64c7b7975cedeb2aaa1a9c8eb4a479fc575843f8.zip |
restore hypernetworks to seemingly working state
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py index 16f262c4..c8b8fecd 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1210,7 +1210,7 @@ def create_ui(wrap_gradio_gpu_call): with gr.Tab(label="Create hypernetwork"):
new_hypernetwork_name = gr.Textbox(label="Name")
- new_hypernetwork_sizes = gr.CheckboxGroup(label="Modules", value=["768", "1024", "320", "640", "1280"], choices=["768", "320", "640", "1280"])
+ new_hypernetwork_sizes = gr.CheckboxGroup(label="Modules", value=["768", "320", "640", "1280"], choices=["768", "1024", "320", "640", "1280"])
new_hypernetwork_layer_structure = gr.Textbox("1, 2, 1", label="Enter hypernetwork layer structure", placeholder="1st and last digit must be 1. ex:'1, 2, 1'")
new_hypernetwork_activation_func = gr.Dropdown(value="linear", label="Select activation function of hypernetwork. Recommended : Swish / Linear(none)", choices=modules.hypernetworks.ui.keys)
new_hypernetwork_initialization_option = gr.Dropdown(value = "Normal", label="Select Layer weights initialization. Recommended: Kaiming for relu-like, Xavier for sigmoid-like, Normal otherwise", choices=["Normal", "KaimingUniform", "KaimingNormal", "XavierUniform", "XavierNormal"])
|