rmdhirr commited on
Commit
29d2c3e
·
verified ·
1 Parent(s): 0964268

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def get_prediction(input_text, input_type):
78
 
79
  def phishing_detection(input_text, input_type):
80
  prediction = get_prediction(input_text, input_type)
81
- if prediction > 0.7:
82
  return f"Warning: This site is likely a phishing site! ({prediction:.2f})"
83
  else:
84
  return f"Safe: This site is not likely a phishing site. ({prediction:.2f})"
 
78
 
79
  def phishing_detection(input_text, input_type):
80
  prediction = get_prediction(input_text, input_type)
81
+ if prediction > 0.5:
82
  return f"Warning: This site is likely a phishing site! ({prediction:.2f})"
83
  else:
84
  return f"Safe: This site is not likely a phishing site. ({prediction:.2f})"