ibrahim yıldız commited on
Commit
ffec371
·
verified ·
1 Parent(s): e19cff3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,8 +4,9 @@ import re
4
  import nltk
5
  from nltk.corpus import stopwords
6
  from nltk.stem import PorterStemmer
7
- #from sklearn.feature_extraction.text import CountVectorizer
8
- #from sklearn.naive_bayes import BernoulliNB
 
9
 
10
  # Load the saved model and vectorizer
11
  with open("NLP_model.pkl", "rb") as file:
 
4
  import nltk
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: