diff options
author | Junpeng Qiu <naminoqiu@gmail.com> | 2022-10-16 04:42:52 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-16 07:51:06 +0000 |
commit | 36a0ba357ab0742c3c4a28437b68fb29a235afbe (patch) | |
tree | f8ecdb176df89a55d623521fc23fe0ff283f4ff7 /modules/shared.py | |
parent | bd4f0fb9d9df72899c2c3a1c2bc3580bf26bb685 (diff) | |
download | stable-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 'modules/shared.py')
0 files changed, 0 insertions, 0 deletions