Spaces:
Runtime error
Runtime error
Commit
·
9753d62
1
Parent(s):
3c58a87
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def generate(title, abstract):
|
|
56 |
This is for summarization
|
57 |
'''
|
58 |
tooShortForKeyword = False
|
59 |
-
|
60 |
doc = ""
|
61 |
if len(obj["target"]) > 1:
|
62 |
doc += obj["title"] + ". " + obj["target"][0] + " " + obj["target"][1]
|
@@ -91,7 +91,7 @@ def generate(title, abstract):
|
|
91 |
'''
|
92 |
# the document is the title and first two sentences of the abstract.
|
93 |
|
94 |
-
|
95 |
doc = ""
|
96 |
if len(obj["target"]) > 1:
|
97 |
doc += obj["title"] + ". " + obj["target"][0] + " " + obj["target"][1]
|
|
|
56 |
This is for summarization
|
57 |
'''
|
58 |
tooShortForKeyword = False
|
59 |
+
obj = newline
|
60 |
doc = ""
|
61 |
if len(obj["target"]) > 1:
|
62 |
doc += obj["title"] + ". " + obj["target"][0] + " " + obj["target"][1]
|
|
|
91 |
'''
|
92 |
# the document is the title and first two sentences of the abstract.
|
93 |
|
94 |
+
obj = newline
|
95 |
doc = ""
|
96 |
if len(obj["target"]) > 1:
|
97 |
doc += obj["title"] + ". " + obj["target"][0] + " " + obj["target"][1]
|