Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Dzhamb
/
ArticleClassification
like
0
Runtime error
App
Files
Files
Community
a1ddf2d
ArticleClassification
/
utils.py
Dzhamb
Update utils.py
a6c4164
over 2 years ago
raw
Copy download link
history
blame
198 Bytes
def
get_text
(
title:
str
, abstract:
str
):
if
abstract
and
title:
text = abstract +
' '
+ title
elif
title:
text = title
else
:
text =
None
return
text
def
get_label
():
pass