SamanthaStorm commited on
Commit
562a962
·
verified ·
1 Parent(s): 9964bad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ def analyze_messages(input_text, risk_flags):
148
  ])
149
 
150
  result = f"Abuse Risk Score: {abuse_level}% – {abuse_description}\n\n"
151
- if abuse_level >= 15:
152
  result += f"Most Likely Patterns:\n{top_pattern_explanations}\n\n"
153
 
154
  f"⚠️ Critical Danger Flags Detected: {danger_flag_count} of 3\n"
 
148
  ])
149
 
150
  result = f"Abuse Risk Score: {abuse_level}% – {abuse_description}\n\n"
151
+ if abuse_level >= 15:
152
  result += f"Most Likely Patterns:\n{top_pattern_explanations}\n\n"
153
 
154
  f"⚠️ Critical Danger Flags Detected: {danger_flag_count} of 3\n"