Skip to content

Commit

Permalink
off by one, rating label was one character short
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel Kluin committed Jun 6, 2023
1 parent 6bb0114 commit 66b7724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagger/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def re_comp(x):
tags = []
for k, v in combined.items():
if k[:7] == "rating:":
rating_confidents[k[8:]] = v / nr_of_files
rating_confidents[k[7:]] = v / nr_of_files
elif v / nr_of_files >= threshold / 2:
tag_confidents[k] = v / nr_of_files
if v / nr_of_files >= threshold:
Expand Down

0 comments on commit 66b7724

Please sign in to comment.