Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ st.title("Movie Reviews: An NLP Sentiment analysis")
|
|
| 15 |
#################################################################### Cache the model loading
|
| 16 |
|
| 17 |
@st.cache_data()
|
| 18 |
-
def load_model(
|
| 19 |
model_pkl_file = "sentiment_model.pkl"
|
| 20 |
with open(model_pkl_file, 'rb') as file:
|
| 21 |
model = pickle.load(file)
|
|
|
|
| 15 |
#################################################################### Cache the model loading
|
| 16 |
|
| 17 |
@st.cache_data()
|
| 18 |
+
def load_model():
|
| 19 |
model_pkl_file = "sentiment_model.pkl"
|
| 20 |
with open(model_pkl_file, 'rb') as file:
|
| 21 |
model = pickle.load(file)
|