Dzhamb commited on
Commit
a6c4164
1 Parent(s): ca8cfa6

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +12 -0
utils.py CHANGED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ def get_text(title: str, abstract: str):
2
+ if abstract and title:
3
+ text = abstract + ' ' + title
4
+ elif title:
5
+ text = title
6
+ else:
7
+ text = None
8
+
9
+ return text
10
+
11
+ def get_label():
12
+ pass