mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 06:28:48 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user