LakshmiHarika commited on
Commit
38360ae
·
verified ·
1 Parent(s): 9cbb199

Update pages/3Life Cycle of Machine Learning Project.py

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -1,6 +1,3 @@
1
- pip install streamlit-extras
2
-
3
-
4
  import streamlit as st
5
  from streamlit_extras.switch_page_button import switch_page
6
 
@@ -111,8 +108,7 @@ st.markdown(
111
  <div class="steps">
112
  <a href="/problem_statement" target="_self" class="step" id="step9">1. Problem Statement</a>
113
  if st.button("Go to Data Collection"):
114
- from streamlit_extras.switch_page_button import switch_page
115
- switch_page("Data Collection")
116
  <a href="/simple_eda" target="_self" class="step" id="step1">3. Simple EDA</a>
117
  <a href="/data_preprocessing" target="_self" class="step" id="step2">4. Data Preprocessing</a>
118
  <a href="/eda" target="_self" class="step" id="step3">5. EDA</a>
 
 
 
 
1
  import streamlit as st
2
  from streamlit_extras.switch_page_button import switch_page
3
 
 
108
  <div class="steps">
109
  <a href="/problem_statement" target="_self" class="step" id="step9">1. Problem Statement</a>
110
  if st.button("Go to Data Collection"):
111
+ st.experimental_set_query_params(page="Data Collection")
 
112
  <a href="/simple_eda" target="_self" class="step" id="step1">3. Simple EDA</a>
113
  <a href="/data_preprocessing" target="_self" class="step" id="step2">4. Data Preprocessing</a>
114
  <a href="/eda" target="_self" class="step" id="step3">5. EDA</a>