Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def CompressXML(xml_text):
|
|
45 |
if isinstance(elem.tag, str) and 'Comment' in elem.tag:
|
46 |
elem.parent.remove(elem)
|
47 |
#return ET.tostring(root, encoding='unicode', method="xml")
|
48 |
-
return ET.tostring(root, encoding='unicode', method="xml")[:
|
49 |
|
50 |
|
51 |
def read_file_content(file):
|
|
|
45 |
if isinstance(elem.tag, str) and 'Comment' in elem.tag:
|
46 |
elem.parent.remove(elem)
|
47 |
#return ET.tostring(root, encoding='unicode', method="xml")
|
48 |
+
return ET.tostring(root, encoding='unicode', method="xml")[:16000]
|
49 |
|
50 |
|
51 |
def read_file_content(file):
|