aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorJunpeng Qiu <naminoqiu@gmail.com>2022-10-16 04:42:52 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-16 07:51:06 +0000
commit36a0ba357ab0742c3c4a28437b68fb29a235afbe (patch)
treef8ecdb176df89a55d623521fc23fe0ff283f4ff7 /style.css
parentbd4f0fb9d9df72899c2c3a1c2bc3580bf26bb685 (diff)
downloadstable-diffusion-webui-gfx803-36a0ba357ab0742c3c4a28437b68fb29a235afbe.tar.gz
stable-diffusion-webui-gfx803-36a0ba357ab0742c3c4a28437b68fb29a235afbe.tar.bz2
stable-diffusion-webui-gfx803-36a0ba357ab0742c3c4a28437b68fb29a235afbe.zip
Added Refresh Button to embedding and hypernetwork names in Train Tab
Problem everytime I modified pt files in embedding_dir or hypernetwork_dir, I need to restart webui to have the new files shown in the dropdown of Train Tab Solution refactored create_refresh_button out of create_setting_component so we can use this method to create button next to gr.Dropdowns of embedding name and hypernetworks Extra Modification hypernetwork pt are now sorted in alphabetic order
Diffstat (limited to 'style.css')
-rw-r--r--style.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/style.css b/style.css
index 33832ebf..71eb4d20 100644
--- a/style.css
+++ b/style.css
@@ -478,7 +478,7 @@ input[type="range"]{
padding: 0;
}
-#refresh_sd_model_checkpoint, #refresh_sd_hypernetwork{
+#refresh_sd_model_checkpoint, #refresh_sd_hypernetwork, #refresh_train_hypernetwork_name, #refresh_train_embedding_name{
max-width: 2.5em;
min-width: 2.5em;
height: 2.4em;