Skip to content

Commit

Permalink
Prefer loaded over skipped embeddings on name collisions
Browse files Browse the repository at this point in the history
Fixes #290
  • Loading branch information
DominikDoom committed Jun 11, 2024
1 parent 29b5bf0 commit 3ef2a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tag_autocomplete_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def get_embeddings(sd_model):
skipped = skipped | skipped_sdnext

# Add embeddings to the correct list
for key, emb in (loaded | skipped).items():
for key, emb in (skipped | loaded).items():
if emb.filename is None:
continue

Expand Down

0 comments on commit 3ef2a7d

Please sign in to comment.