SamanthaStorm commited on
Commit
b3b847a
·
verified ·
1 Parent(s): 4c68e72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -94,7 +94,6 @@ def analyze_messages(input_text):
94
  "It looks for specific abusive patterns that increase the likelihood of severe harm. "
95
  f"The messages just analyzed contain at least {triggered_flags_count} critical flags."
96
  )
97
- )
98
 
99
  # Return both a text summary and a JSON-like dict of scores per label
100
  return result, {"scores": dict(zip(LABELS, scores.tolist))}
 
94
  "It looks for specific abusive patterns that increase the likelihood of severe harm. "
95
  f"The messages just analyzed contain at least {triggered_flags_count} critical flags."
96
  )
 
97
 
98
  # Return both a text summary and a JSON-like dict of scores per label
99
  return result, {"scores": dict(zip(LABELS, scores.tolist))}