Skip to content

Commit 411889c

Browse files
committed
fix for #1
1 parent 42e9ba0 commit 411889c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/aesthetic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def generate_embs(*args):
6969
aesthetic_clip.update_aesthetic_embeddings()
7070
updates = [gr.Dropdown.update(choices=sorted(aesthetic_clip.aesthetic_embeddings.keys())) for _ in range(len(dropdown_components))]
7171

72-
return *updates, res
72+
return [*updates, res]
7373

7474
create_embedding_ae.click(
7575
fn=generate_embs,

0 commit comments

Comments
 (0)