sashtech commited on
Commit
1065e7c
·
verified ·
1 Parent(s): e5063d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -17,6 +17,8 @@ def predict_en(text):
17
  # Ensure necessary NLTK data is downloaded for Humanifier
18
  nltk.download('wordnet')
19
  nltk.download('omw-1.4')
 
 
20
 
21
  # Ensure the SpaCy model is installed for Humanifier
22
  try:
 
17
  # Ensure necessary NLTK data is downloaded for Humanifier
18
  nltk.download('wordnet')
19
  nltk.download('omw-1.4')
20
+ nltk.download('punkt')
21
+
22
 
23
  # Ensure the SpaCy model is installed for Humanifier
24
  try: