Spaces:
Sleeping
Sleeping
Update pages/Life cycle of ML.py
Browse files
pages/Life cycle of ML.py
CHANGED
|
@@ -61,10 +61,8 @@ def add_custom_css():
|
|
| 61 |
unsafe_allow_html=True,
|
| 62 |
)
|
| 63 |
|
| 64 |
-
# Functions for each page
|
| 65 |
def home_page():
|
| 66 |
st.markdown("<div class='title'>Machine Learning Lifecycle</div>", unsafe_allow_html=True)
|
| 67 |
-
st.markdown("<div class='subtitle'>Explore the stages of an ML project!</div>", unsafe_allow_html=True)
|
| 68 |
|
| 69 |
st.image("https://via.placeholder.com/800x400?text=ML+Lifecycle", caption="Visual Representation of ML Lifecycle")
|
| 70 |
|
|
@@ -141,7 +139,7 @@ def deployment_page():
|
|
| 141 |
# Main routing logic
|
| 142 |
def main():
|
| 143 |
add_custom_css()
|
| 144 |
-
query_params = st.
|
| 145 |
page = query_params.get("page", ["home"])[0]
|
| 146 |
|
| 147 |
if page == "home":
|
|
|
|
| 61 |
unsafe_allow_html=True,
|
| 62 |
)
|
| 63 |
|
|
|
|
| 64 |
def home_page():
|
| 65 |
st.markdown("<div class='title'>Machine Learning Lifecycle</div>", unsafe_allow_html=True)
|
|
|
|
| 66 |
|
| 67 |
st.image("https://via.placeholder.com/800x400?text=ML+Lifecycle", caption="Visual Representation of ML Lifecycle")
|
| 68 |
|
|
|
|
| 139 |
# Main routing logic
|
| 140 |
def main():
|
| 141 |
add_custom_css()
|
| 142 |
+
query_params = st.query_params()
|
| 143 |
page = query_params.get("page", ["home"])[0]
|
| 144 |
|
| 145 |
if page == "home":
|