Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ if st.button("Classify"):
|
|
24 |
|
25 |
# Check the label and print out the corresponding message
|
26 |
if label == "LABEL_1": # Assuming LABEL_1 indicates phishing
|
27 |
-
st.write(f"The link you entered is {score}% likely to be a phishing
|
28 |
else: # Assuming LABEL_0 indicates not phishing
|
29 |
-
st.write(f"The link you entered is {score}% likely to be not a phishing
|
30 |
else:
|
31 |
st.error("Please enter an link to classify.")
|
|
|
24 |
|
25 |
# Check the label and print out the corresponding message
|
26 |
if label == "LABEL_1": # Assuming LABEL_1 indicates phishing
|
27 |
+
st.write(f"The link you entered is {score}% likely to be a phishing link.")
|
28 |
else: # Assuming LABEL_0 indicates not phishing
|
29 |
+
st.write(f"The link you entered is {score}% likely to be not a phishing link.")
|
30 |
else:
|
31 |
st.error("Please enter an link to classify.")
|