prthgo commited on
Commit
da76625
1 Parent(s): e337348

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -5,6 +5,8 @@ from nltk.corpus import stopwords
5
  import string
6
  from sklearn.feature_extraction.text import TfidfVectorizer
7
  from sklearn.naive_bayes import MultinomialNB
 
 
8
 
9
  tfidf=pickle.load(open('tfidf.pkl','rb'))
10
  model=pickle.load(open('model.pkl','rb'))
 
5
  import string
6
  from sklearn.feature_extraction.text import TfidfVectorizer
7
  from sklearn.naive_bayes import MultinomialNB
8
+ nltk.download('punkt')
9
+ nltk.download('stopwords')
10
 
11
  tfidf=pickle.load(open('tfidf.pkl','rb'))
12
  model=pickle.load(open('model.pkl','rb'))