Ahmet Zelka commited on
Commit
315a55d
·
verified ·
1 Parent(s): 559ae76

from_string ---------> fromstring (-_-)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.from_string(response.text)
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 = []