azizbarank commited on
Commit
16ad1b3
1 Parent(s): 1095967

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ with model_results:
63
  lemmatized_output.append(lemmatizer.lemmatize(word))
64
 
65
  # instantiating tfidf vectorizor
66
- tfidf = TfidfVectorizer(stop_words= stop_words, ngram_range=(1,2))
67
  X_train = joblib.load(open('resources/X_train.pickel', 'rb'))
68
  X_test = lemmatized_output
69
  X_train_count = tfidf.fit_transform(X_train)
 
63
  lemmatized_output.append(lemmatizer.lemmatize(word))
64
 
65
  # instantiating tfidf vectorizor
66
+ tfidf = TfidfVectorizer(stop_words= 'english', ngram_range=(1,2))
67
  X_train = joblib.load(open('resources/X_train.pickel', 'rb'))
68
  X_test = lemmatized_output
69
  X_train_count = tfidf.fit_transform(X_train)