SamanthaStorm commited on
Commit
8d75834
Β·
verified Β·
1 Parent(s): 1cd3a3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -181,7 +181,7 @@ def analyze_messages(input_text, risk_flags):
181
 
182
  if matched_phrases:
183
  result += "\n\n🚨 Detected High-Risk Phrases:\n"
184
- for label, phrase in matched_phrases:
185
  phrase_clean = phrase.replace('"', "'").strip()
186
  result += f"β€’ {label.replace('_', ' ').title()}: β€œ{phrase_clean}”\n"
187
 
 
181
 
182
  if matched_phrases:
183
  result += "\n\n🚨 Detected High-Risk Phrases:\n"
184
+ for label, phrase in matched_phrases:
185
  phrase_clean = phrase.replace('"', "'").strip()
186
  result += f"β€’ {label.replace('_', ' ').title()}: β€œ{phrase_clean}”\n"
187