Spaces:
Sleeping
Sleeping
Ari
commited on
Commit
•
fcb7e65
1
Parent(s):
c2c4472
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +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.download('punkt')
|
14 |
|
15 |
tokenizer = AutoTokenizer.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.data.path.append("/home/user/nltk_data")
|
14 |
nltk.download('punkt')
|
15 |
|
16 |
tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-cnn")
|