Spaces:
Sleeping
Sleeping
Update pages/3Life Cycle of Machine Learning Project.py
Browse files
pages/3Life Cycle of Machine Learning Project.py
CHANGED
|
@@ -46,52 +46,74 @@ st.markdown("""
|
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
-
#
|
| 71 |
query_params = st.experimental_get_query_params()
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
#
|
| 75 |
-
if
|
| 76 |
-
st.subheader("Step
|
| 77 |
-
st.write("
|
| 78 |
-
elif
|
| 79 |
-
st.subheader("Step
|
| 80 |
-
st.write("
|
| 81 |
-
elif
|
| 82 |
-
st.subheader("Step
|
| 83 |
-
st.write("
|
| 84 |
-
elif
|
| 85 |
-
st.subheader("Step
|
| 86 |
-
st.write("
|
| 87 |
-
elif
|
| 88 |
-
st.subheader("Step
|
| 89 |
-
st.write("
|
| 90 |
-
elif
|
| 91 |
-
st.subheader("Step
|
| 92 |
-
st.write("
|
| 93 |
-
elif page == "monitoring":
|
| 94 |
-
st.subheader("Step 7: Monitoring and Maintenance")
|
| 95 |
-
st.write("Content for Monitoring and Maintenance goes here...")
|
| 96 |
else:
|
| 97 |
-
st.write("
|
|
|
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
+
st.markdown("""
|
| 50 |
+
<style>
|
| 51 |
+
.circle-container {
|
| 52 |
+
display: flex;
|
| 53 |
+
flex-direction: column;
|
| 54 |
+
align-items: center;
|
| 55 |
+
margin: 50px auto;
|
| 56 |
+
position: relative;
|
| 57 |
+
width: 300px;
|
| 58 |
+
height: 300px;
|
| 59 |
+
}
|
| 60 |
+
.circle-container button {
|
| 61 |
+
position: absolute;
|
| 62 |
+
border: none;
|
| 63 |
+
background: #f4b183;
|
| 64 |
+
color: white;
|
| 65 |
+
border-radius: 50%;
|
| 66 |
+
padding: 15px;
|
| 67 |
+
text-align: center;
|
| 68 |
+
cursor: pointer;
|
| 69 |
+
transition: all 0.3s ease-in-out;
|
| 70 |
+
font-weight: bold;
|
| 71 |
+
}
|
| 72 |
+
#initiation { top: 10%; left: 40%; }
|
| 73 |
+
#planning { top: 40%; left: 70%; }
|
| 74 |
+
#execution { top: 70%; left: 40%; }
|
| 75 |
+
#monitoring { top: 60%; left: 10%; }
|
| 76 |
+
#closure { top: 30%; left: 10%; }
|
| 77 |
+
#review { top: 40%; left: 40%; }
|
| 78 |
+
#initiation:hover, #planning:hover, #execution:hover,
|
| 79 |
+
#monitoring:hover, #closure:hover, #review:hover {
|
| 80 |
+
transform: scale(1.2);
|
| 81 |
+
background: #d57a50;
|
| 82 |
+
}
|
| 83 |
+
</style>
|
| 84 |
+
|
| 85 |
+
<div class="circle-container">
|
| 86 |
+
<button id="initiation" onclick="window.location.search='?step=initiation'">Initiation</button>
|
| 87 |
+
<button id="planning" onclick="window.location.search='?step=planning'">Planning</button>
|
| 88 |
+
<button id="execution" onclick="window.location.search='?step=execution'">Execution</button>
|
| 89 |
+
<button id="monitoring" onclick="window.location.search='?step=monitoring'">Monitoring</button>
|
| 90 |
+
<button id="closure" onclick="window.location.search='?step=closure'">Closure</button>
|
| 91 |
+
<button id="review" onclick="window.location.search='?step=review'">Review</button>
|
| 92 |
+
</div>
|
| 93 |
+
""", unsafe_allow_html=True)
|
| 94 |
|
| 95 |
+
# Query parameters to identify selected steps
|
| 96 |
query_params = st.experimental_get_query_params()
|
| 97 |
+
step = query_params.get("step", [""])[0]
|
| 98 |
+
|
| 99 |
+
# Dynamic content based on selected step
|
| 100 |
+
if step == "initiation":
|
| 101 |
+
st.subheader("Step: Initiation")
|
| 102 |
+
st.write("This is the initiation phase where project objectives are defined.")
|
| 103 |
+
elif step == "planning":
|
| 104 |
+
st.subheader("Step: Planning")
|
| 105 |
+
st.write("This is the planning phase where detailed project plans are created.")
|
| 106 |
+
elif step == "execution":
|
| 107 |
+
st.subheader("Step: Execution")
|
| 108 |
+
st.write("This is the execution phase where the project plan is implemented.")
|
| 109 |
+
elif step == "monitoring":
|
| 110 |
+
st.subheader("Step: Monitoring")
|
| 111 |
+
st.write("This is the monitoring phase to track progress and adjust plans.")
|
| 112 |
+
elif step == "closure":
|
| 113 |
+
st.subheader("Step: Closure")
|
| 114 |
+
st.write("This is the closure phase where the project is finalized and reviewed.")
|
| 115 |
+
elif step == "review":
|
| 116 |
+
st.subheader("Step: Review")
|
| 117 |
+
st.write("This is the review phase where lessons learned are documented.")
|
|
|
|
|
|
|
|
|
|
| 118 |
else:
|
| 119 |
+
st.write("Select a step to learn more about it!")
|