Spaces:
Build error
Build error
hellopahe
commited on
Commit
·
58a0894
1
Parent(s):
35415c6
fix
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ class LexRank(object):
|
|
88 |
ptr = index
|
89 |
break
|
90 |
|
91 |
-
return list(sentences[index] for index in most_central_sentence_indices[0: ptr])
|
92 |
|
93 |
# ---===--- worker instances ---===---
|
94 |
t_randeng = SummaryExtractor()
|
|
|
88 |
ptr = index
|
89 |
break
|
90 |
|
91 |
+
return list(sentences[index] for index in most_central_sentence_indices[0: ptr + 1])
|
92 |
|
93 |
# ---===--- worker instances ---===---
|
94 |
t_randeng = SummaryExtractor()
|