Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -8,6 +8,8 @@ def get_text(title: str, abstract: str):
|
|
8 |
text = abstract + ' ' + title
|
9 |
elif title:
|
10 |
text = title
|
|
|
|
|
11 |
else:
|
12 |
text = None
|
13 |
|
|
|
8 |
text = abstract + ' ' + title
|
9 |
elif title:
|
10 |
text = title
|
11 |
+
elif abstract:
|
12 |
+
text = abstract
|
13 |
else:
|
14 |
text = None
|
15 |
|