SamanthaStorm commited on
Commit
03c90d9
·
verified ·
1 Parent(s): 2796d42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def interpret_abuse_level(score):
80
  def analyze_messages(input_text, risk_flags):
81
  input_text = input_text.strip()
82
  if not input_text:
83
- return "Please enter a message for analysis."
84
 
85
  motif_tags, matched_phrases = tag_motifs(input_text)
86
  contextual_flags = risk_flags + motif_tags # Combine checkbox and motif flags
 
80
  def analyze_messages(input_text, risk_flags):
81
  input_text = input_text.strip()
82
  if not input_text:
83
+ return "Please enter a message for analysis."
84
 
85
  motif_tags, matched_phrases = tag_motifs(input_text)
86
  contextual_flags = risk_flags + motif_tags # Combine checkbox and motif flags