ayeshaishaq004 commited on
Commit
18d390b
Β·
verified Β·
1 Parent(s): a79a79d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -16,15 +16,12 @@ st.markdown("""
16
  st.title('πŸ” Phishing URL Detection App')
17
  st.write('Enter a URL to check if it is Phishing or Legitimate.')
18
 
19
- # Display an illustrative image (Optional)
20
- image = Image.open("phishing_warning.png") # Add a relevant image in your working directory
21
- st.image(image, use_column_width=True)
22
 
23
- # Input URL from the user
24
  url_input = st.text_input('Enter URL:', '')
25
 
26
  # Hugging Face model endpoint
27
- API_URL = 'https://huggingface.co/ayeshaishaq004/website-url-classifier/resolve/main/phishing_model.pkl' # Replace with your model URL
28
 
29
  if st.button('Check URL'):
30
  if url_input:
 
16
  st.title('πŸ” Phishing URL Detection App')
17
  st.write('Enter a URL to check if it is Phishing or Legitimate.')
18
 
 
 
 
19
 
20
+ # Input URL
21
  url_input = st.text_input('Enter URL:', '')
22
 
23
  # Hugging Face model endpoint
24
+ API_URL = 'https://huggingface.co/ayeshaishaq004/website-url-classifier/resolve/main/phishing_model.pkl'
25
 
26
  if st.button('Check URL'):
27
  if url_input: