riyageorge commited on
Commit
95d4d6b
·
1 Parent(s): 51649e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,8 +89,8 @@ def lstm_predict_message(message):
89
 
90
 
91
  # Load the saved model
92
- gru_movie_model = tf.keras.models.load_model('APP/gru_movie_model.h5')
93
- with open('APP/tokenizer_movie_gru.pickle', 'rb') as handle:
94
  lstm_movie_tokeniser = pickle.load(handle)
95
 
96
  # Function to predict sentiment for a given review
 
89
 
90
 
91
  # Load the saved model
92
+ gru_movie_model = tf.keras.models.load_model('gru_movie_model.h5')
93
+ with open('tokenizer_movie_gru.pickle', 'rb') as handle:
94
  lstm_movie_tokeniser = pickle.load(handle)
95
 
96
  # Function to predict sentiment for a given review