Spaces:
No application file
No application file
Commit
·
919b967
1
Parent(s):
381295f
Update Sentiment Analysis_Restaurant.py
Browse files
Sentiment Analysis_Restaurant.py
CHANGED
@@ -6,7 +6,7 @@ from sklearn.feature_extraction.text import CountVectorizer
|
|
6 |
# !pip install gradio joblib scikit-learn
|
7 |
|
8 |
# Load the saved model and vectorizer
|
9 |
-
clf = joblib.load("./resturants.pkl")
|
10 |
vectorizer = joblib.load("./vectorizer.joblib")
|
11 |
|
12 |
# Define the prediction function
|
|
|
6 |
# !pip install gradio joblib scikit-learn
|
7 |
|
8 |
# Load the saved model and vectorizer
|
9 |
+
clf = joblib.load("./resturants.pkl",'rb')
|
10 |
vectorizer = joblib.load("./vectorizer.joblib")
|
11 |
|
12 |
# Define the prediction function
|