Spaces:
Sleeping
Sleeping
Update pages/3Life Cycle of Machine Learning Project.py
Browse files
pages/3Life Cycle of Machine Learning Project.py
CHANGED
|
@@ -47,7 +47,7 @@ st.markdown("""
|
|
| 47 |
|
| 48 |
import streamlit as st
|
| 49 |
|
| 50 |
-
# Inject custom CSS for the
|
| 51 |
st.markdown(
|
| 52 |
"""
|
| 53 |
<style>
|
|
@@ -60,18 +60,18 @@ st.markdown(
|
|
| 60 |
align-items: center;
|
| 61 |
}
|
| 62 |
|
| 63 |
-
/* Styling for each phase (
|
| 64 |
.phase {
|
| 65 |
position: relative;
|
| 66 |
-
width:
|
| 67 |
-
height:
|
| 68 |
background-color: #F8F9FA; /* Light background */
|
| 69 |
color: #000000; /* Black text */
|
| 70 |
-
border-radius:
|
| 71 |
display: flex;
|
| 72 |
justify-content: center;
|
| 73 |
align-items: center;
|
| 74 |
-
font-size:
|
| 75 |
font-weight: bold;
|
| 76 |
text-align: center;
|
| 77 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
@@ -89,28 +89,28 @@ st.markdown(
|
|
| 89 |
color: #000000; /* Black arrow */
|
| 90 |
}
|
| 91 |
|
| 92 |
-
/* Custom colors for each phase */
|
| 93 |
-
.phase-1 { background-color: #
|
| 94 |
-
.phase-2 { background-color: #
|
| 95 |
-
.phase-3 { background-color: #
|
| 96 |
-
.phase-4 { background-color: #
|
| 97 |
-
.phase-5 { background-color: #
|
| 98 |
-
.phase-6 { background-color: #
|
| 99 |
-
.phase-7 { background-color: #
|
| 100 |
-
.phase-8 { background-color: #
|
| 101 |
-
.phase-9 { background-color: #
|
| 102 |
-
.phase-10 { background-color: #
|
| 103 |
|
| 104 |
.phase:hover {
|
| 105 |
-
transform: scale(1.
|
| 106 |
-
background-color: #
|
| 107 |
}
|
| 108 |
</style>
|
| 109 |
""",
|
| 110 |
unsafe_allow_html=True,
|
| 111 |
)
|
| 112 |
|
| 113 |
-
# HTML structure for the
|
| 114 |
st.markdown(
|
| 115 |
"""
|
| 116 |
<div class="vertical-flowchart">
|
|
|
|
| 47 |
|
| 48 |
import streamlit as st
|
| 49 |
|
| 50 |
+
# Inject custom CSS for the vertical flowchart
|
| 51 |
st.markdown(
|
| 52 |
"""
|
| 53 |
<style>
|
|
|
|
| 60 |
align-items: center;
|
| 61 |
}
|
| 62 |
|
| 63 |
+
/* Styling for each phase (rectangle) */
|
| 64 |
.phase {
|
| 65 |
position: relative;
|
| 66 |
+
width: 300px; /* Rectangle width */
|
| 67 |
+
height: 60px; /* Rectangle height */
|
| 68 |
background-color: #F8F9FA; /* Light background */
|
| 69 |
color: #000000; /* Black text */
|
| 70 |
+
border-radius: 8px; /* Rounded edges */
|
| 71 |
display: flex;
|
| 72 |
justify-content: center;
|
| 73 |
align-items: center;
|
| 74 |
+
font-size: 16px; /* Text size */
|
| 75 |
font-weight: bold;
|
| 76 |
text-align: center;
|
| 77 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
|
|
| 89 |
color: #000000; /* Black arrow */
|
| 90 |
}
|
| 91 |
|
| 92 |
+
/* Custom light colors for each phase */
|
| 93 |
+
.phase-1 { background-color: #E6F4EA; } /* Light Green */
|
| 94 |
+
.phase-2 { background-color: #E0F7FA; } /* Light Blue */
|
| 95 |
+
.phase-3 { background-color: #FFF9C4; } /* Light Yellow */
|
| 96 |
+
.phase-4 { background-color: #FFE0B2; } /* Light Orange */
|
| 97 |
+
.phase-5 { background-color: #DCEDC8; } /* Light Green */
|
| 98 |
+
.phase-6 { background-color: #D1C4E9; } /* Light Purple */
|
| 99 |
+
.phase-7 { background-color: #F8BBD0; } /* Light Pink */
|
| 100 |
+
.phase-8 { background-color: #CFD8DC; } /* Light Gray-Blue */
|
| 101 |
+
.phase-9 { background-color: #B2EBF2; } /* Light Cyan */
|
| 102 |
+
.phase-10 { background-color: #FFE082; } /* Light Amber */
|
| 103 |
|
| 104 |
.phase:hover {
|
| 105 |
+
transform: scale(1.05);
|
| 106 |
+
background-color: #F0F0F0; /* Slightly lighter on hover */
|
| 107 |
}
|
| 108 |
</style>
|
| 109 |
""",
|
| 110 |
unsafe_allow_html=True,
|
| 111 |
)
|
| 112 |
|
| 113 |
+
# HTML structure for the vertical flowchart
|
| 114 |
st.markdown(
|
| 115 |
"""
|
| 116 |
<div class="vertical-flowchart">
|