Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,9 @@ 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')
|
|
|
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 |
import joblib
|
6 |
+
pip install joblib
|
7 |
+
|
8 |
|
9 |
# Load your models
|
10 |
emotion_model = load_model('lstm_model.h5')
|