aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-10-19 15:58:49 +0000
committerGitHub <noreply@github.com>2022-10-19 15:58:49 +0000
commitc664b231a836891d22081c5643c46aace180e427 (patch)
tree90c719f4b176e8676ea228237f354b73a3d67147 /modules/ui.py
parentf510a2277ee3641564c13841b04b50293384526f (diff)
parent365d4b1650b77c8f8aedf4a294c2b9e47d665f04 (diff)
downloadstable-diffusion-webui-gfx803-c664b231a836891d22081c5643c46aace180e427.tar.gz
stable-diffusion-webui-gfx803-c664b231a836891d22081c5643c46aace180e427.tar.bz2
stable-diffusion-webui-gfx803-c664b231a836891d22081c5643c46aace180e427.zip
Merge pull request #3162 from discus0434/master
Added what I forgot to commit in already merged PR: #3086
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py
index e5940063..d2e24880 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -1217,7 +1217,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", "320", "640", "1280"], choices=["768", "320", "640", "1280"])
- new_hypernetwork_layer_structure = gr.Dropdown(label="Hypernetwork layer structure", choices=[(1, 2, 1), (1, 2, 2, 1), (1, 2, 4, 2, 1)])
+ 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_add_layer_norm = gr.Checkbox(label="Add layer normalization")
with gr.Row():