Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +3 -1
pages/Data Collection.py
CHANGED
|
@@ -1440,6 +1440,8 @@ def main_page():
|
|
| 1440 |
st.subheader("XML Data:")
|
| 1441 |
st.code(xml_data, language='xml')
|
| 1442 |
|
|
|
|
|
|
|
| 1443 |
st.code("""
|
| 1444 |
<table>
|
| 1445 |
<tr><th>Name</th><th>City</th><th>Marks</th></tr>
|
|
@@ -1453,7 +1455,7 @@ def main_page():
|
|
| 1453 |
|
| 1454 |
|
| 1455 |
# Display the table using markdown
|
| 1456 |
-
st.markdown(
|
| 1457 |
|
| 1458 |
|
| 1459 |
if st.button("CSV"):
|
|
|
|
| 1440 |
st.subheader("XML Data:")
|
| 1441 |
st.code(xml_data, language='xml')
|
| 1442 |
|
| 1443 |
+
st.title("Student Data Table HTML Format")
|
| 1444 |
+
|
| 1445 |
st.code("""
|
| 1446 |
<table>
|
| 1447 |
<tr><th>Name</th><th>City</th><th>Marks</th></tr>
|
|
|
|
| 1455 |
|
| 1456 |
|
| 1457 |
# Display the table using markdown
|
| 1458 |
+
st.markdown(html_data, unsafe_allow_html=True)
|
| 1459 |
|
| 1460 |
|
| 1461 |
if st.button("CSV"):
|