Dzhamb commited on
Commit
5a48121
1 Parent(s): fca33ac

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -0
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