sree4411 commited on
Commit
95942ea
·
verified ·
1 Parent(s): a55bc59

Update pages/3_Life Cycle Of ML Project.py

Browse files
pages/3_Life Cycle Of ML Project.py CHANGED
@@ -4,7 +4,7 @@ import streamlit as st
4
  st.markdown("""
5
  <style>
6
  .stButton>button {
7
- background-color: #4CAF50;
8
  color: white;
9
  width: 100%;
10
  }
@@ -17,7 +17,7 @@ if 'page' not in st.session_state:
17
 
18
  # ----------------- Home Page -----------------
19
  if st.session_state.page == "home":
20
- st.title(":green[Lifecycle of a Machine Learning Project]")
21
  st.markdown("Click on a stage to learn more about it.")
22
 
23
  # Buttons for various stages of the ML project lifecycle
@@ -312,4 +312,4 @@ 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"
 
4
  st.markdown("""
5
  <style>
6
  .stButton>button {
7
+
8
  color: white;
9
  width: 100%;
10
  }
 
17
 
18
  # ----------------- Home Page -----------------
19
  if st.session_state.page == "home":
20
+ st.title(":red[Lifecycle of a Machine Learning Project]")
21
  st.markdown("Click on a stage to learn more about it.")
22
 
23
  # Buttons for various stages of the ML project lifecycle
 
312
 
313
  # Back to Data Collection
314
  if st.button("Back to Data Collection"):
315
+ st.session_state.page = "data_collection" # Corrected line: Removing raise errors