brendabor commited on
Commit
401d1a7
1 Parent(s): 01e4bba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,9 +1,11 @@
1
  import streamlit as st
2
  from tensorflow.keras.models import load_model
3
- import joblib
4
  from tensorflow.keras.preprocessing.text import Tokenizer
5
  from tensorflow.keras.preprocessing.sequence import pad_sequences
6
 
 
 
 
7
  # Load your models
8
  emotion_model = load_model('lstm_model.h5')
9
  recommender_model = joblib.load('knn_model.npy')
 
1
  import streamlit as st
2
  from tensorflow.keras.models import load_model
 
3
  from tensorflow.keras.preprocessing.text import Tokenizer
4
  from tensorflow.keras.preprocessing.sequence import pad_sequences
5
 
6
+ pip install joblib
7
+ import joblib
8
+
9
  # Load your models
10
  emotion_model = load_model('lstm_model.h5')
11
  recommender_model = joblib.load('knn_model.npy')