Spaces:
Sleeping
Sleeping
Ahmet Zelka commited on
from_string ---------> fromstring (-_-)
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def paper_finder(topics:list, max_paper:int)-> str: #it's import to specify the
|
|
| 45 |
response.raise_for_status()
|
| 46 |
|
| 47 |
# parsing element tree as text
|
| 48 |
-
root = ET.
|
| 49 |
|
| 50 |
# extract paper information
|
| 51 |
papers = []
|
|
|
|
| 45 |
response.raise_for_status()
|
| 46 |
|
| 47 |
# parsing element tree as text
|
| 48 |
+
root = ET.fromstring(response.text)
|
| 49 |
|
| 50 |
# extract paper information
|
| 51 |
papers = []
|