Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,9 @@ from textstat import flesch_reading_ease, flesch_kincaid_grade
|
|
31 |
|
32 |
# Download necessary NLTK resources
|
33 |
nltk.download('punkt', quiet=True)
|
|
|
34 |
nltk.download('stopwords', quiet=True)
|
|
|
35 |
|
36 |
# Load spaCy model (requires separate installation)
|
37 |
try:
|
|
|
31 |
|
32 |
# Download necessary NLTK resources
|
33 |
nltk.download('punkt', quiet=True)
|
34 |
+
nltk.download('averaged_perceptron_tagger', quiet=True)
|
35 |
nltk.download('stopwords', quiet=True)
|
36 |
+
nltk.download('punkt_tab', quiet=True)
|
37 |
|
38 |
# Load spaCy model (requires separate installation)
|
39 |
try:
|