Nikhil2411 commited on
Commit
e43fe26
·
verified ·
1 Parent(s): b0b5b94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -18,8 +18,7 @@ import pytesseract
18
  from youtube_transcript_api import YouTubeTranscriptApi
19
 
20
  # Download required NLTK data files
21
- nltk.download('punkt')
22
- nltk.download('stopwords')
23
 
24
  # Load pre-trained BART model and tokenizer
25
  model_name = "facebook/bart-large-cnn"
 
18
  from youtube_transcript_api import YouTubeTranscriptApi
19
 
20
  # Download required NLTK data files
21
+ nltk.download('all')
 
22
 
23
  # Load pre-trained BART model and tokenizer
24
  model_name = "facebook/bart-large-cnn"