From cf4299426a5be5eb12f17ded0d6f126bc2f751b7 Mon Sep 17 00:00:00 2001 From: anonymousUI Date: Sun, 5 Jan 2025 12:33:31 +0900 Subject: [PATCH] fix always_first_tags --- 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 a327bbd6..a33cc14a 100644 --- a/finetune/tag_images_by_wd14_tagger.py +++ b/finetune/tag_images_by_wd14_tagger.py @@ -290,7 +290,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: