Pravincoder commited on
Commit
f086c6c
·
verified ·
1 Parent(s): 61b672f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('model_file','rb'))
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