rmdhirr commited on
Commit
99988c9
1 Parent(s): 7dff114

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,8 +10,9 @@ from nltk.corpus import stopwords
10
  from nltk.stem import WordNetLemmatizer
11
  import inflect
12
 
13
- # Ensure NLTK stopwords are downloaded
14
  nltk.download('stopwords')
 
15
 
16
  # Load the tokenizer, label encoder, and model
17
  def load_resources():
 
10
  from nltk.stem import WordNetLemmatizer
11
  import inflect
12
 
13
+ # Ensure NLTK stopwords and wordnet are downloaded
14
  nltk.download('stopwords')
15
+ nltk.download('wordnet')
16
 
17
  # Load the tokenizer, label encoder, and model
18
  def load_resources():