Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
def get_text(title: str, abstract: str):
|
| 2 |
if abstract and title:
|
| 3 |
text = abstract + ' ' + title
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
|
| 3 |
+
|
| 4 |
def get_text(title: str, abstract: str):
|
| 5 |
if abstract and title:
|
| 6 |
text = abstract + ' ' + title
|