From baa3c4ecc23b1d1a4182e6a1c466ad628e29c74f Mon Sep 17 00:00:00 2001 From: Roel Kluin Date: Mon, 5 Jun 2023 15:48:59 +0200 Subject: [PATCH] Limit the displayed weighted tags to half the threshold, so we can see some that we're missing, but the list is not overly long --- tagger/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagger/ui.py b/tagger/ui.py index d3b3bf9..6ad015d 100644 --- a/tagger/ui.py +++ b/tagger/ui.py @@ -80,7 +80,7 @@ def on_interrogate( return [ ', '.join(processed_tags.keys() if add_confident_as_weight else processed_tags), ratings, - tags, + dict(filter(lambda x: x[1] >= threshold / 2, tags.items())), '' ]