awacke1 commited on
Commit
db9b250
β€’
1 Parent(s): 4c38937

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def read_file_content(file,max_length):
100
  elif file.type == "application/xml" or file.type == "text/xml":
101
  tree = ET.parse(file)
102
  root = tree.getroot()
103
- xml = CompressXML(ET.tostring(root, encoding='unicode')
104
  return xml(:max_length)
105
  elif file.type == "text/markdown" or file.type == "text/md":
106
  md = mistune.create_markdown()
 
100
  elif file.type == "application/xml" or file.type == "text/xml":
101
  tree = ET.parse(file)
102
  root = tree.getroot()
103
+ xml = CompressXML(ET.tostring(root, encoding='unicode'))
104
  return xml(:max_length)
105
  elif file.type == "text/markdown" or file.type == "text/md":
106
  md = mistune.create_markdown()