diff options
author | MalumaDev <piano.lu92@gmail.com> | 2022-10-16 08:23:30 +0000 |
---|---|---|
committer | MalumaDev <piano.lu92@gmail.com> | 2022-10-16 08:23:30 +0000 |
commit | 523140d7805c644700009b8a2483ff4eb4a22304 (patch) | |
tree | f2c07a65ab526b93442422910cb3fb93c97aff54 /modules/aesthetic_clip.py | |
parent | b694bba39a2f9f9069201e27f0d312f4abe5b41f (diff) | |
download | stable-diffusion-webui-gfx803-523140d7805c644700009b8a2483ff4eb4a22304.tar.gz stable-diffusion-webui-gfx803-523140d7805c644700009b8a2483ff4eb4a22304.tar.bz2 stable-diffusion-webui-gfx803-523140d7805c644700009b8a2483ff4eb4a22304.zip |
ui fix
Diffstat (limited to 'modules/aesthetic_clip.py')
-rw-r--r-- | modules/aesthetic_clip.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/aesthetic_clip.py b/modules/aesthetic_clip.py index 68264284..ccb35c73 100644 --- a/modules/aesthetic_clip.py +++ b/modules/aesthetic_clip.py @@ -74,5 +74,4 @@ def generate_imgs_embd(name, folder, batch_size): """ shared.update_aesthetic_embeddings() return gr.Dropdown.update(choices=sorted(shared.aesthetic_embeddings.keys()), label="Imgs embedding", - value=sorted(shared.aesthetic_embeddings.keys())[0] if len( - shared.aesthetic_embeddings) > 0 else None), res, "" + value="None"), res, "" |