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