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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -148,7 +148,8 @@ 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
+
152
+ if abuse_level >= 15:
153
  result += f"Most Likely Patterns:\n{top_pattern_explanations}\n\n"
154
 
155
  f"⚠️ Critical Danger Flags Detected: {danger_flag_count} of 3\n"