Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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})"
|