Commit 51445610 authored by Greg Fuller's avatar Greg Fuller

[3/?] [wip] fix incorrect variable reference

still needs testing
parent f776254b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment