Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import pickle
|
|
| 3 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
| 4 |
|
| 5 |
# Load the model and vectorizer from the pickle file
|
| 6 |
-
filename = '
|
| 7 |
|
| 8 |
with open(filename, 'rb') as file:
|
| 9 |
loaded_objects = pickle.load(file)
|
|
|
|
| 3 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
| 4 |
|
| 5 |
# Load the model and vectorizer from the pickle file
|
| 6 |
+
filename = 'sentiment_analysis.pkl'
|
| 7 |
|
| 8 |
with open(filename, 'rb') as file:
|
| 9 |
loaded_objects = pickle.load(file)
|