Skip to content

Commit

Permalink
fix for #1
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Oct 22, 2022
1 parent 42e9ba0 commit 411889c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aesthetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def generate_embs(*args):
aesthetic_clip.update_aesthetic_embeddings()
updates = [gr.Dropdown.update(choices=sorted(aesthetic_clip.aesthetic_embeddings.keys())) for _ in range(len(dropdown_components))]

return *updates, res
return [*updates, res]

create_embedding_ae.click(
fn=generate_embs,
Expand Down

0 comments on commit 411889c

Please sign in to comment.