umairrrkhan commited on
Commit
e400ad2
·
verified ·
1 Parent(s): c44809b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ df = pd.concat([true_news, fake_news], ignore_index=True)
16
  import re
17
  import nltk
18
  from nltk.corpus import stopwords
 
19
 
20
  def preprocess_text(text):
21
  # Remove special characters
 
16
  import re
17
  import nltk
18
  from nltk.corpus import stopwords
19
+ nltk.download('stopwords')
20
 
21
  def preprocess_text(text):
22
  # Remove special characters