com3dian commited on
Commit
743e4de
·
1 Parent(s): b10c1c5

fix filename

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -29,11 +29,10 @@ if uploaded_file is not None:
29
 
30
  output_file_path = os.path.splitext(saved_file_path)[0] + ".grobid.tei.xml"
31
 
32
- monkeyReader = reader.MonkeyReader('monkey')
33
  outline = monkeyReader.readOutline(output_file_path)
34
-
35
  for pre, fill, node in outline:
36
  st.write("%s%s" % (pre, node.name))
37
 
38
  # read paper content
39
- essay = monkeyReader.readEssay(output_file)
 
29
 
30
  output_file_path = os.path.splitext(saved_file_path)[0] + ".grobid.tei.xml"
31
 
32
+ monkeyReader = reader.MonkeyReader('x2d')
33
  outline = monkeyReader.readOutline(output_file_path)
 
34
  for pre, fill, node in outline:
35
  st.write("%s%s" % (pre, node.name))
36
 
37
  # read paper content
38
+ essay = monkeyReader.readEssay(output_file_path)