MUFASA25 commited on
Commit
4f54bf0
·
verified ·
1 Parent(s): 2747353

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -98,4 +98,6 @@ def predict_email(email_text):
98
  max_label, max_prob = max(results.items(), key=lambda x: x[1])
99
 
100
  # Risk levels with higher threshold (85%)
101
- if "phishing" in max_label.lower() or "suspicious" in max_labelkilled by server before completion, please rerun or continue
 
 
 
98
  max_label, max_prob = max(results.items(), key=lambda x: x[1])
99
 
100
  # Risk levels with higher threshold (85%)
101
+ if "phishing" in max_label.lower() or "suspicious" in max_label.lower():
102
+
103
+