From ceec25dc974336161e625fec0d09af62d4325fbd Mon Sep 17 00:00:00 2001 From: matan2244 <50634434+matan2244@users.noreply.github.com> Date: Wed, 4 Jun 2025 16:22:19 +0300 Subject: [PATCH] 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. --- finetune/tag_images_by_wd14_tagger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finetune/tag_images_by_wd14_tagger.py b/finetune/tag_images_by_wd14_tagger.py index cbc3d2d6..ce7fceeb 100644 --- a/finetune/tag_images_by_wd14_tagger.py +++ b/finetune/tag_images_by_wd14_tagger.py @@ -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: