com3dian commited on
Commit
82626d6
·
verified ·
1 Parent(s): 7ee71e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(article, Barttokenizer)
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