Spaces:
Sleeping
Sleeping
fix tei-xml reader
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ if uploaded_file is not None:
|
|
20 |
bytes_data = uploaded_file.getvalue()
|
21 |
st.write(len(bytes_data), "bytes")
|
22 |
saved_file_path = save_uploaded_file(uploaded_file)
|
23 |
-
monkeyReader = reader.MonkeyReader('
|
24 |
outline = monkeyReader.readOutline(saved_file_path)
|
25 |
|
26 |
for pre, fill, node in outline:
|
|
|
20 |
bytes_data = uploaded_file.getvalue()
|
21 |
st.write(len(bytes_data), "bytes")
|
22 |
saved_file_path = save_uploaded_file(uploaded_file)
|
23 |
+
monkeyReader = reader.MonkeyReader('x2d')
|
24 |
outline = monkeyReader.readOutline(saved_file_path)
|
25 |
|
26 |
for pre, fill, node in outline:
|