Sambhavnoobcoder commited on
Commit
ef18222
·
1 Parent(s): a3d47cc

changed model to sentimental

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ with open('tokenizer.json', 'r', encoding='utf-8') as f:
39
 
40
  tokenizer = tokenizer_from_json(tokenizer_config)
41
 
42
- model = tf.keras.models.load_model("model_RNN.h5", custom_objects={'f1':f1, 'recall': recall, 'precision': precision, 'accuracy':accuracy})
43
 
44
  def get_sentiment(text):
45
  global model
 
39
 
40
  tokenizer = tokenizer_from_json(tokenizer_config)
41
 
42
+ model = tf.keras.models.load_model("sentimental.h5", custom_objects={'f1':f1, 'recall': recall, 'precision': precision, 'accuracy':accuracy})
43
 
44
  def get_sentiment(text):
45
  global model