Update app.py
Browse files
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
|