Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import pickle
|
|
4 |
app = Flask(__name__)
|
5 |
|
6 |
# Load the pre-trained phishing detection model from the .pkl file
|
7 |
-
with open('
|
8 |
phishing_model = pickle.load(model_file)
|
9 |
|
10 |
def is_phishing(url):
|
|
|
4 |
app = Flask(__name__)
|
5 |
|
6 |
# Load the pre-trained phishing detection model from the .pkl file
|
7 |
+
with open('phishing (2).pkl', 'rb') as model_file:
|
8 |
phishing_model = pickle.load(model_file)
|
9 |
|
10 |
def is_phishing(url):
|