Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ if uploaded_file is not None:
|
|
59 |
BartSE = BARTAutoEncoder(summarizor, summarizor, device)
|
60 |
del summarizor, expandor
|
61 |
|
62 |
-
document = Document(
|
63 |
del Barttokenizer
|
64 |
length = document.merge(10, 30, BartSE, device)
|
65 |
|
|
|
59 |
BartSE = BARTAutoEncoder(summarizor, summarizor, device)
|
60 |
del summarizor, expandor
|
61 |
|
62 |
+
document = Document(essay, Barttokenizer)
|
63 |
del Barttokenizer
|
64 |
length = document.merge(10, 30, BartSE, device)
|
65 |
|