Spaces:
Sleeping
Sleeping
Ari
commited on
Commit
•
c2c4472
1
Parent(s):
ce9568b
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,7 @@ from reportlab.lib.pagesizes import letter
|
|
10 |
from reportlab.pdfgen import canvas
|
11 |
|
12 |
# Clear any potentially corrupted data and ensure correct download
|
13 |
-
nltk.
|
14 |
-
nltk.download('punkt_tab')
|
15 |
|
16 |
tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-cnn")
|
17 |
model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-large-cnn")
|
|
|
10 |
from reportlab.pdfgen import canvas
|
11 |
|
12 |
# Clear any potentially corrupted data and ensure correct download
|
13 |
+
nltk.download('punkt')
|
|
|
14 |
|
15 |
tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-cnn")
|
16 |
model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-large-cnn")
|