Spaces:
Sleeping
Sleeping
Update pages/3Life Cycle of Machine Learning Project.py
Browse files
pages/3Life Cycle of Machine Learning Project.py
CHANGED
|
@@ -47,14 +47,14 @@ st.markdown("""
|
|
| 47 |
|
| 48 |
import streamlit as st
|
| 49 |
|
| 50 |
-
# Inject custom CSS for the circular flowchart
|
| 51 |
st.markdown(
|
| 52 |
"""
|
| 53 |
<style>
|
| 54 |
.circular-flowchart {
|
| 55 |
position: relative;
|
| 56 |
-
width:
|
| 57 |
-
height:
|
| 58 |
margin: 0 auto;
|
| 59 |
display: flex;
|
| 60 |
justify-content: center;
|
|
@@ -81,35 +81,16 @@ st.markdown(
|
|
| 81 |
}
|
| 82 |
|
| 83 |
/* Positions for each phase */
|
| 84 |
-
.phase-1 { top:
|
| 85 |
-
.phase-2 { top:
|
| 86 |
-
.phase-3 { top:
|
| 87 |
-
.phase-4 { top:
|
| 88 |
-
.phase-5 { top:
|
| 89 |
-
.phase-6 { top:
|
| 90 |
-
.phase-7 { top:
|
| 91 |
-
.phase-8 { top:
|
| 92 |
-
.phase-9 { top:
|
| 93 |
-
.phase-10 { top:
|
| 94 |
-
|
| 95 |
-
/* Arrow styling */
|
| 96 |
-
.arrow {
|
| 97 |
-
position: absolute;
|
| 98 |
-
font-size: 22px;
|
| 99 |
-
color: #1E90FF; /* Dark blue for arrows */
|
| 100 |
-
}
|
| 101 |
-
|
| 102 |
-
/* Arrow positions */
|
| 103 |
-
.arrow-1 { top: 50px; left: 270px; transform: rotate(45deg); } /* Between Phase 1 and 2 */
|
| 104 |
-
.arrow-2 { top: 150px; left: 370px; transform: rotate(90deg); } /* Between Phase 2 and 3 */
|
| 105 |
-
.arrow-3 { top: 280px; left: 370px; transform: rotate(135deg); } /* Between Phase 3 and 4 */
|
| 106 |
-
.arrow-4 { top: 370px; left: 270px; transform: rotate(180deg); } /* Between Phase 4 and 5 */
|
| 107 |
-
.arrow-5 { top: 370px; left: 120px; transform: rotate(225deg); } /* Between Phase 5 and 6 */
|
| 108 |
-
.arrow-6 { top: 280px; left: 20px; transform: rotate(270deg); } /* Between Phase 6 and 7 */
|
| 109 |
-
.arrow-7 { top: 150px; left: 20px; transform: rotate(-45deg); } /* Between Phase 7 and 8 */
|
| 110 |
-
.arrow-8 { top: 50px; left: 120px; transform: rotate(0deg); } /* Between Phase 8 and 9 */
|
| 111 |
-
.arrow-9 { top: 20px; left: 200px; transform: rotate(45deg); } /* Between Phase 9 and 10 */
|
| 112 |
-
.arrow-10 { top: 20px; left: 280px; transform: rotate(-45deg); } /* Between Phase 10 and 1 */
|
| 113 |
|
| 114 |
.phase:hover {
|
| 115 |
transform: scale(1.1);
|
|
@@ -135,18 +116,6 @@ st.markdown(
|
|
| 135 |
<a class="phase phase-8" href="/model-testing" target="_self">Model Testing</a>
|
| 136 |
<a class="phase phase-9" href="/deployment" target="_self">Deployment</a>
|
| 137 |
<a class="phase phase-10" href="/monitoring" target="_self">Monitoring</a>
|
| 138 |
-
|
| 139 |
-
<!-- Arrows -->
|
| 140 |
-
<div class="arrow arrow-1">➡️</div>
|
| 141 |
-
<div class="arrow arrow-2">➡️</div>
|
| 142 |
-
<div class="arrow arrow-3">➡️</div>
|
| 143 |
-
<div class="arrow arrow-4">➡️</div>
|
| 144 |
-
<div class="arrow arrow-5">➡️</div>
|
| 145 |
-
<div class="arrow arrow-6">➡️</div>
|
| 146 |
-
<div class="arrow arrow-7">➡️</div>
|
| 147 |
-
<div class="arrow arrow-8">➡️</div>
|
| 148 |
-
<div class="arrow arrow-9">➡️</div>
|
| 149 |
-
<div class="arrow arrow-10">➡️</div>
|
| 150 |
</div>
|
| 151 |
""",
|
| 152 |
unsafe_allow_html=True,
|
|
|
|
| 47 |
|
| 48 |
import streamlit as st
|
| 49 |
|
| 50 |
+
# Inject custom CSS for the circular flowchart
|
| 51 |
st.markdown(
|
| 52 |
"""
|
| 53 |
<style>
|
| 54 |
.circular-flowchart {
|
| 55 |
position: relative;
|
| 56 |
+
width: 600px; /* Increased width for larger circle */
|
| 57 |
+
height: 600px; /* Increased height for larger circle */
|
| 58 |
margin: 0 auto;
|
| 59 |
display: flex;
|
| 60 |
justify-content: center;
|
|
|
|
| 81 |
}
|
| 82 |
|
| 83 |
/* Positions for each phase */
|
| 84 |
+
.phase-1 { top: 0px; left: 250px; background-color: #4CAF50; } /* Top */
|
| 85 |
+
.phase-2 { top: 70px; left: 420px; background-color: #03A9F4; } /* Top-right */
|
| 86 |
+
.phase-3 { top: 220px; left: 500px; background-color: #FFC107; } /* Right */
|
| 87 |
+
.phase-4 { top: 400px; left: 420px; background-color: #FF7043; } /* Bottom-right */
|
| 88 |
+
.phase-5 { top: 520px; left: 250px; background-color: #8BC34A; } /* Bottom */
|
| 89 |
+
.phase-6 { top: 400px; left: 70px; background-color: #673AB7; } /* Bottom-left */
|
| 90 |
+
.phase-7 { top: 220px; left: 0px; background-color: #E91E63; } /* Left */
|
| 91 |
+
.phase-8 { top: 70px; left: 70px; background-color: #607D8B; } /* Top-left */
|
| 92 |
+
.phase-9 { top: 20px; left: 150px; background-color: #00BCD4; } /* Between Top-left and Top */
|
| 93 |
+
.phase-10 { top: 20px; left: 350px; background-color: #FF9800; } /* Between Top-right and Top */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
.phase:hover {
|
| 96 |
transform: scale(1.1);
|
|
|
|
| 116 |
<a class="phase phase-8" href="/model-testing" target="_self">Model Testing</a>
|
| 117 |
<a class="phase phase-9" href="/deployment" target="_self">Deployment</a>
|
| 118 |
<a class="phase phase-10" href="/monitoring" target="_self">Monitoring</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
</div>
|
| 120 |
""",
|
| 121 |
unsafe_allow_html=True,
|