Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from tensorflow.keras.preprocessing.sequence import pad_sequences
|
|
5 |
import pickle
|
6 |
|
7 |
# Load the trained model
|
8 |
-
model = pickle.load(open('
|
9 |
|
10 |
def spam_detection(message):
|
11 |
# Preprocess the input message
|
|
|
5 |
import pickle
|
6 |
|
7 |
# Load the trained model
|
8 |
+
model = pickle.load(open('model.pkl','rb'))
|
9 |
|
10 |
def spam_detection(message):
|
11 |
# Preprocess the input message
|