aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/interrogate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/interrogate.py b/modules/interrogate.py
index 9263d65a..d85d7dcc 100644
--- a/modules/interrogate.py
+++ b/modules/interrogate.py
@@ -157,9 +157,9 @@ class InterrogateModels:
matches = self.rank(image_features, items, top_count=topn)
for match, score in matches:
if include_ranks:
- res += ", " + match
- else:
res += f", ({match}:{score})"
+ else:
+ res += ", " + match
except Exception:
print(f"Error interrogating", file=sys.stderr)