Spaces:
Sleeping
Sleeping
Update pages/3Life Cycle of Machine Learning Project.py
Browse files
pages/3Life Cycle of Machine Learning Project.py
CHANGED
|
@@ -10,17 +10,14 @@ st.set_page_config(
|
|
| 10 |
st.markdown("""
|
| 11 |
<style>
|
| 12 |
body, .stApp {
|
| 13 |
-
color: #
|
| 14 |
background-color: #FFFFFF; /* Optional: Set a fixed background color */
|
| 15 |
}
|
| 16 |
h1, h2, h3, h4, h5, h6 {
|
| 17 |
-
color: #
|
| 18 |
}
|
| 19 |
-
p {
|
| 20 |
-
color: #
|
| 21 |
-
}
|
| 22 |
-
ul li {
|
| 23 |
-
color: #4F4F4F; /* List item color */
|
| 24 |
}
|
| 25 |
</style>
|
| 26 |
""", unsafe_allow_html=True)
|
|
@@ -40,9 +37,7 @@ st.markdown(
|
|
| 40 |
)
|
| 41 |
|
| 42 |
# Title of the page
|
| 43 |
-
st.markdown("""<div style="text-align: left; margin-top: 20px;"><h1
|
| 44 |
-
|
| 45 |
-
|
| 46 |
|
| 47 |
# Circle Representation HTML and CSS (properly rendered)
|
| 48 |
html_code = """
|
|
@@ -61,6 +56,7 @@ html_code = """
|
|
| 61 |
height: 100vh;
|
| 62 |
margin: 0;
|
| 63 |
background-color: #f4f4f9;
|
|
|
|
| 64 |
}
|
| 65 |
.container {
|
| 66 |
text-align: center;
|
|
@@ -104,7 +100,7 @@ html_code = """
|
|
| 104 |
.step:hover {
|
| 105 |
background-color: #0056b3;
|
| 106 |
}
|
| 107 |
-
|
| 108 |
#step1 {
|
| 109 |
background-color: #FFCCCC;
|
| 110 |
transform: rotate(0deg) translateX(140px) rotate(0deg);
|
|
@@ -145,39 +141,8 @@ html_code = """
|
|
| 145 |
background-color: #D9CCFF;
|
| 146 |
transform: rotate(324deg) translateX(140px) rotate(-324deg);
|
| 147 |
}
|
| 148 |
-
/* Rotate steps to form a circular layout */
|
| 149 |
-
#step4 {
|
| 150 |
-
transform: rotate(0deg) translateX(250px) rotate(0deg);
|
| 151 |
-
}
|
| 152 |
-
#step5 {
|
| 153 |
-
transform: rotate(25deg) translateX(250px) rotate(-25deg);
|
| 154 |
-
}
|
| 155 |
-
#step6 {
|
| 156 |
-
transform: rotate(60deg) translateX(250px) rotate(-60deg);
|
| 157 |
-
}
|
| 158 |
-
#step7 {
|
| 159 |
-
transform: rotate(120deg) translateX(250px) rotate(-120deg);
|
| 160 |
-
}
|
| 161 |
-
#step8 {
|
| 162 |
-
transform: rotate(155deg) translateX(250px) rotate(-155deg);
|
| 163 |
-
}
|
| 164 |
-
#step9 {
|
| 165 |
-
transform: rotate(180deg) translateX(250px) rotate(-180deg);
|
| 166 |
-
}
|
| 167 |
-
#step10 {
|
| 168 |
-
transform: rotate(205deg) translateX(250px) rotate(-205deg);
|
| 169 |
-
}
|
| 170 |
-
#step1 {
|
| 171 |
-
transform: rotate(240deg) translateX(250px) rotate(-240deg);
|
| 172 |
-
}
|
| 173 |
-
#step2 {
|
| 174 |
-
transform: rotate(300deg) translateX(250px) rotate(-300deg);
|
| 175 |
-
}
|
| 176 |
-
#step3 {
|
| 177 |
-
transform: rotate(335deg) translateX(250px) rotate(-335deg);
|
| 178 |
-
}
|
| 179 |
a {
|
| 180 |
-
color:
|
| 181 |
text-decoration: none;
|
| 182 |
}
|
| 183 |
a:hover {
|
|
@@ -211,8 +176,3 @@ html_code = """
|
|
| 211 |
# Streamlit: Display the HTML circle with properly spaced steps
|
| 212 |
st.markdown(html_code, unsafe_allow_html=True)
|
| 213 |
st.write(' ')
|
| 214 |
-
st.write(' ')
|
| 215 |
-
st.write(' ')
|
| 216 |
-
st.write(' ')
|
| 217 |
-
st.write(' ')
|
| 218 |
-
st.write(' ')
|
|
|
|
| 10 |
st.markdown("""
|
| 11 |
<style>
|
| 12 |
body, .stApp {
|
| 13 |
+
color: #000; /* Set text color to black */
|
| 14 |
background-color: #FFFFFF; /* Optional: Set a fixed background color */
|
| 15 |
}
|
| 16 |
h1, h2, h3, h4, h5, h6 {
|
| 17 |
+
color: #000; /* Set headings to black */
|
| 18 |
}
|
| 19 |
+
p, ul li {
|
| 20 |
+
color: #000; /* Paragraphs and list items text color */
|
|
|
|
|
|
|
|
|
|
| 21 |
}
|
| 22 |
</style>
|
| 23 |
""", unsafe_allow_html=True)
|
|
|
|
| 37 |
)
|
| 38 |
|
| 39 |
# Title of the page
|
| 40 |
+
st.markdown("""<div style="text-align: left; margin-top: 20px;"><h1>Life Cycle of End to End ML Project</h1></div>""", unsafe_allow_html=True)
|
|
|
|
|
|
|
| 41 |
|
| 42 |
# Circle Representation HTML and CSS (properly rendered)
|
| 43 |
html_code = """
|
|
|
|
| 56 |
height: 100vh;
|
| 57 |
margin: 0;
|
| 58 |
background-color: #f4f4f9;
|
| 59 |
+
color: #000; /* Set body text to black */
|
| 60 |
}
|
| 61 |
.container {
|
| 62 |
text-align: center;
|
|
|
|
| 100 |
.step:hover {
|
| 101 |
background-color: #0056b3;
|
| 102 |
}
|
| 103 |
+
/* Different background colors for each step */
|
| 104 |
#step1 {
|
| 105 |
background-color: #FFCCCC;
|
| 106 |
transform: rotate(0deg) translateX(140px) rotate(0deg);
|
|
|
|
| 141 |
background-color: #D9CCFF;
|
| 142 |
transform: rotate(324deg) translateX(140px) rotate(-324deg);
|
| 143 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
a {
|
| 145 |
+
color: #000; /* Links text color to black */
|
| 146 |
text-decoration: none;
|
| 147 |
}
|
| 148 |
a:hover {
|
|
|
|
| 176 |
# Streamlit: Display the HTML circle with properly spaced steps
|
| 177 |
st.markdown(html_code, unsafe_allow_html=True)
|
| 178 |
st.write(' ')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|