Spaces:
Sleeping
Sleeping
ibrahim yıldız commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,8 @@ import pickle
|
|
| 5 |
from nltk.corpus import stopwords
|
| 6 |
from nltk.stem import PorterStemmer
|
| 7 |
nltk.download('punkt')
|
| 8 |
-
from sklearn.feature_extraction.text import CountVectorizer
|
| 9 |
-
from sklearn.naive_bayes import BernoulliNB
|
| 10 |
|
| 11 |
# Load the saved model and vectorizer
|
| 12 |
with open("NLP_model.pkl", "rb") as file:
|
|
|
|
| 5 |
from nltk.corpus import stopwords
|
| 6 |
from nltk.stem import PorterStemmer
|
| 7 |
nltk.download('punkt')
|
| 8 |
+
#from sklearn.feature_extraction.text import CountVectorizer
|
| 9 |
+
#from sklearn.naive_bayes import BernoulliNB
|
| 10 |
|
| 11 |
# Load the saved model and vectorizer
|
| 12 |
with open("NLP_model.pkl", "rb") as file:
|