Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def analyze_composite(msg1, msg2, msg3, flags):
|
|
131 |
|
132 |
composite_score = round(min(composite_score, 100), 2) # re-cap just in case
|
133 |
|
134 |
-
|
135 |
for expl in top_explanations:
|
136 |
if expl:
|
137 |
result += f"\n• {expl}"
|
|
|
131 |
|
132 |
composite_score = round(min(composite_score, 100), 2) # re-cap just in case
|
133 |
|
134 |
+
result = f"These messages show patterns of {', '.join(label for label, _ in top_labels)} and are estimated to be {composite_score}% likely abusive."
|
135 |
for expl in top_explanations:
|
136 |
if expl:
|
137 |
result += f"\n• {expl}"
|