Update tag_images_by_wd14_tagger.py

fixed --always_first_tags. the first tags were not added to the combined_tags in case they were not already in it.
This commit is contained in:
matan2244
2025-06-04 16:22:19 +03:00
committed by GitHub
parent a21b6a917e
commit ceec25dc97

View File

@@ -291,7 +291,7 @@ def main(args):
for tag in always_first_tags:
if tag in combined_tags:
combined_tags.remove(tag)
combined_tags.insert(0, tag)
combined_tags.insert(0, tag)
# 先頭のカンマを取る
if len(general_tag_text) > 0: