Paulie-Aditya commited on
Commit
7d5a525
·
1 Parent(s): de3a317

punkt error resolved?

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ import requests
3
  from transformers import pipeline
4
  import nltk
5
  nltk.download('punkt')
 
6
  from nltk import sent_tokenize
7
  from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
8
  from transformers import pipeline
 
3
  from transformers import pipeline
4
  import nltk
5
  nltk.download('punkt')
6
+ nltk.download('punkt_tab')
7
  from nltk import sent_tokenize
8
  from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
9
  from transformers import pipeline