gundruke commited on
Commit
7a7564e
·
1 Parent(s): 8abf40a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ from huggingface_hub import hf_hub_download
8
 
9
 
10
  import nltk
11
- nltk.download()
 
12
 
13
  checkpoint = "gundruke/bert-lstm-crf-absa"
14
  config = AutoConfig.from_pretrained(checkpoint)
 
8
 
9
 
10
  import nltk
11
+ nltk.download("wordnet", quiet=True)
12
+
13
 
14
  checkpoint = "gundruke/bert-lstm-crf-absa"
15
  config = AutoConfig.from_pretrained(checkpoint)