ronakreddy18 commited on
Commit
6fd8b9a
·
verified ·
1 Parent(s): 0ad3418

Update pages/LIFE_CYCLE_OF_MACHINE_LEARNING.py

Browse files
pages/LIFE_CYCLE_OF_MACHINE_LEARNING.py CHANGED
@@ -1,4 +1,7 @@
1
  import streamlit as st
 
 
 
2
 
3
  # Inject custom CSS to style the buttons
4
  st.markdown("""
@@ -237,7 +240,7 @@ plt.show()
237
 
238
  # Back to Data Collection
239
  if st.button("Back to Data Collection"):
240
- st.session_state.page = "data_collection"
241
 
242
  # ----------------- Semi-Structured Data Page -----------------
243
  def semi_structured_data_page():
@@ -312,7 +315,7 @@ print(root.find('name').text) # Output: Bob
312
 
313
  # Back to Data Collection
314
  if st.button("Back to Data Collection"):
315
- st.session_state.page = "data_collection"
316
 
317
  # ----------------- Router -----------------
318
  def router():
@@ -331,4 +334,4 @@ def router():
331
 
332
  # Run the router function
333
  if __name__ == "__main__":
334
- router()
 
1
  import streamlit as st
2
+ import pandas as pd
3
+ import json
4
+ import xml.etree.ElementTree as ET
5
 
6
  # Inject custom CSS to style the buttons
7
  st.markdown("""
 
240
 
241
  # Back to Data Collection
242
  if st.button("Back to Data Collection"):
243
+ st.session_state.page = "data_collection"
244
 
245
  # ----------------- Semi-Structured Data Page -----------------
246
  def semi_structured_data_page():
 
315
 
316
  # Back to Data Collection
317
  if st.button("Back to Data Collection"):
318
+ st.session_state.page = "data_collection"
319
 
320
  # ----------------- Router -----------------
321
  def router():
 
334
 
335
  # Run the router function
336
  if __name__ == "__main__":
337
+ router()