File size: 358 Bytes
088addf
 
 
8ae7e67
088addf
 
394e645
d53de2d
088addf
 
 
879acfc
1
2
3
4
5
6
7
8
9
10
11
12
13
import streamlit as st
import pickle

model = pickle.load(open("phishing_test.pkl", "rb"))

st.title("URL Checker")
st.subheader("Just type a URL below to see if it's good!")
url_to_predict = st.text_input("", value="google.com", placeholder="Enter URL")

prediction = model.predict([url_to_predict])

st.write(f"The URL you've entered is {prediction[0]}!")