alokvtk commited on
Commit
ba1928a
1 Parent(s): 4c18539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -24,13 +24,13 @@ dnn_model = load_model('sms_spam_detection_dnnmodel.h5')
24
  rnn_model = load_model('spam_detection_rnn_model.h5')
25
 
26
  # Loading the model using pickle
27
- with open(r'D:/one/OneDrive/Desktop/Streamlit/Model_backprop.pkl', 'rb') as file:
28
  backprop_model = pickle.load(file)
29
 
30
- with open(r'D:/one/OneDrive/Desktop/Streamlit/Percep_model.pkl', 'rb') as file:
31
  perceptron_model = pickle.load(file)
32
 
33
- with open(r'D:/one/OneDrive/Desktop/Streamlit/tokeniser.pkl', 'rb') as file:
34
  loaded_tokeniser = pickle.load(file)
35
 
36
  lstm_model_path='Lstm_model.h5'
 
24
  rnn_model = load_model('spam_detection_rnn_model.h5')
25
 
26
  # Loading the model using pickle
27
+ with open(r'Model_backprop.pkl', 'rb') as file:
28
  backprop_model = pickle.load(file)
29
 
30
+ with open(r'Percep_model.pkl', 'rb') as file:
31
  perceptron_model = pickle.load(file)
32
 
33
+ with open(r'tokeniser.pkl', 'rb') as file:
34
  loaded_tokeniser = pickle.load(file)
35
 
36
  lstm_model_path='Lstm_model.h5'