kithangw commited on
Commit
7b73280
·
verified ·
1 Parent(s): df11283

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 email.")
28
  else: # Assuming LABEL_0 indicates not phishing
29
- st.write(f"The link you entered is {score}% likely to be not a phishing email.")
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.")