Skip to content

Commit

Permalink
[3/?] [wip] fix incorrect variable reference
Browse files Browse the repository at this point in the history
still needs testing
  • Loading branch information
HunterVacui committed Oct 12, 2022
1 parent f776254 commit 5144561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/deepbooru.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def get_deepbooru_tags_from_model(model, tags, pil_image, threshold, deepbooru_o
if use_escape:
tag_outformat = re.sub(re_special, r'\\\1', tag_outformat)
if include_ranks:
use_escape += f":{weight:.3f}"
tag_outformat += f":{weight:.3f}"

result_tags_out.append(tag_outformat)

Expand Down

0 comments on commit 5144561

Please sign in to comment.