Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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('
|
| 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"
|