Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -436,7 +436,7 @@ tabs = st.tabs(["Raw XML", "DataFrame", "Diplomatic Edition", "Editor Edition",
|
|
436 |
# -------------------------------
|
437 |
with tabs[0]:
|
438 |
st.subheader("Raw XML Content")
|
439 |
-
st.
|
440 |
|
441 |
# -------------------------------
|
442 |
# DataFrame Tab
|
@@ -463,7 +463,7 @@ with tabs[2]:
|
|
463 |
|
464 |
if text_element is not None:
|
465 |
diplomatic_text = render_diplomatic(text_element)
|
466 |
-
st.
|
467 |
else:
|
468 |
st.warning("No text found for the selected inscription.")
|
469 |
|
@@ -485,7 +485,7 @@ with tabs[3]:
|
|
485 |
|
486 |
if text_element is not None:
|
487 |
editor_text = render_editor(text_element)
|
488 |
-
st.
|
489 |
else:
|
490 |
st.warning("No text found for the selected inscription.")
|
491 |
|
|
|
436 |
# -------------------------------
|
437 |
with tabs[0]:
|
438 |
st.subheader("Raw XML Content")
|
439 |
+
st.code(inscriptions_content, language="xml")
|
440 |
|
441 |
# -------------------------------
|
442 |
# DataFrame Tab
|
|
|
463 |
|
464 |
if text_element is not None:
|
465 |
diplomatic_text = render_diplomatic(text_element)
|
466 |
+
st.code(diplomatic_text, language="plaintext")
|
467 |
else:
|
468 |
st.warning("No text found for the selected inscription.")
|
469 |
|
|
|
485 |
|
486 |
if text_element is not None:
|
487 |
editor_text = render_editor(text_element)
|
488 |
+
st.code(editor_text, language="plaintext")
|
489 |
else:
|
490 |
st.warning("No text found for the selected inscription.")
|
491 |
|