rmdhirr commited on
Commit
209780d
1 Parent(s): 8e5d4ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def get_prediction(input_text, input_type):
86
 
87
  def phishing_detection(input_text, input_type):
88
  prediction = get_prediction(input_text, input_type)
89
- threshold = 0.7 # Adjusted threshold
90
  if prediction > threshold:
91
  return f"Warning: This site is likely a phishing site! ({prediction:.2f})"
92
  else:
 
86
 
87
  def phishing_detection(input_text, input_type):
88
  prediction = get_prediction(input_text, input_type)
89
+ threshold = 0.5 # Adjusted threshold
90
  if prediction > threshold:
91
  return f"Warning: This site is likely a phishing site! ({prediction:.2f})"
92
  else: