Spaces:
Sleeping
Sleeping
Update pages/3Life Cycle of Machine Learning Project.py
Browse files
pages/3Life Cycle of Machine Learning Project.py
CHANGED
|
@@ -42,7 +42,7 @@ st.markdown("""
|
|
| 42 |
st.markdown("""<div style="text-align: center; margin-top: 20px;">
|
| 43 |
<h1 style="color: #BB3385;">Life Cycle of End to End ML Project</h1></div>""", unsafe_allow_html=True)
|
| 44 |
|
| 45 |
-
# Updated HTML for
|
| 46 |
html_code_updated = """
|
| 47 |
<!DOCTYPE html>
|
| 48 |
<html lang="en">
|
|
@@ -71,7 +71,6 @@ html_code_updated = """
|
|
| 71 |
height: 350px;
|
| 72 |
margin: 20px auto;
|
| 73 |
border-radius: 50%;
|
| 74 |
-
background: url('https://via.placeholder.com/150') center/cover no-repeat; /* Replace with your desired image URL */
|
| 75 |
display: flex;
|
| 76 |
justify-content: center;
|
| 77 |
align-items: center;
|
|
@@ -88,10 +87,10 @@ html_code_updated = """
|
|
| 88 |
.step {
|
| 89 |
background-color: rgba(173, 216, 230, 0.8); /* Light pastel blue */
|
| 90 |
color: #333;
|
| 91 |
-
padding:
|
| 92 |
border-radius: 8px;
|
| 93 |
cursor: pointer;
|
| 94 |
-
width:
|
| 95 |
margin: 10px;
|
| 96 |
text-align: center;
|
| 97 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
@@ -103,43 +102,23 @@ html_code_updated = """
|
|
| 103 |
.step:hover {
|
| 104 |
background-color: rgba(135, 206, 250, 0.9); /* Slightly darker pastel blue on hover */
|
| 105 |
}
|
| 106 |
-
#step1 {
|
| 107 |
-
|
| 108 |
-
}
|
| 109 |
-
#
|
| 110 |
-
|
| 111 |
-
}
|
| 112 |
-
#
|
| 113 |
-
|
| 114 |
-
}
|
| 115 |
-
#
|
| 116 |
-
transform: rotate(108deg) translateX(160px) rotate(-108deg);
|
| 117 |
-
}
|
| 118 |
-
#step5 {
|
| 119 |
-
transform: rotate(144deg) translateX(160px) rotate(-144deg);
|
| 120 |
-
}
|
| 121 |
-
#step6 {
|
| 122 |
-
transform: rotate(180deg) translateX(160px) rotate(-180deg);
|
| 123 |
-
}
|
| 124 |
-
#step7 {
|
| 125 |
-
transform: rotate(216deg) translateX(160px) rotate(-216deg);
|
| 126 |
-
}
|
| 127 |
-
#step8 {
|
| 128 |
-
transform: rotate(252deg) translateX(160px) rotate(-252deg);
|
| 129 |
-
}
|
| 130 |
-
#step9 {
|
| 131 |
-
transform: rotate(288deg) translateX(160px) rotate(-288deg);
|
| 132 |
-
}
|
| 133 |
-
#step10 {
|
| 134 |
-
transform: rotate(324deg) translateX(160px) rotate(-324deg);
|
| 135 |
-
}
|
| 136 |
a {
|
| 137 |
-
color: #333;
|
| 138 |
text-decoration: none;
|
| 139 |
}
|
| 140 |
a:hover {
|
| 141 |
-
color:
|
| 142 |
-
text-decoration: underline;
|
| 143 |
}
|
| 144 |
</style>
|
| 145 |
</head>
|
|
@@ -165,5 +144,5 @@ html_code_updated = """
|
|
| 165 |
</html>
|
| 166 |
"""
|
| 167 |
|
| 168 |
-
# Streamlit: Display the updated HTML
|
| 169 |
st.markdown(html_code_updated, unsafe_allow_html=True)
|
|
|
|
| 42 |
st.markdown("""<div style="text-align: center; margin-top: 20px;">
|
| 43 |
<h1 style="color: #BB3385;">Life Cycle of End to End ML Project</h1></div>""", unsafe_allow_html=True)
|
| 44 |
|
| 45 |
+
# Updated HTML with light colors for a professional look
|
| 46 |
html_code_updated = """
|
| 47 |
<!DOCTYPE html>
|
| 48 |
<html lang="en">
|
|
|
|
| 71 |
height: 350px;
|
| 72 |
margin: 20px auto;
|
| 73 |
border-radius: 50%;
|
|
|
|
| 74 |
display: flex;
|
| 75 |
justify-content: center;
|
| 76 |
align-items: center;
|
|
|
|
| 87 |
.step {
|
| 88 |
background-color: rgba(173, 216, 230, 0.8); /* Light pastel blue */
|
| 89 |
color: #333;
|
| 90 |
+
padding: 15px 30px;
|
| 91 |
border-radius: 8px;
|
| 92 |
cursor: pointer;
|
| 93 |
+
width: 150px;
|
| 94 |
margin: 10px;
|
| 95 |
text-align: center;
|
| 96 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
|
|
| 102 |
.step:hover {
|
| 103 |
background-color: rgba(135, 206, 250, 0.9); /* Slightly darker pastel blue on hover */
|
| 104 |
}
|
| 105 |
+
#step1 { background-color: #FFCCCC; transform: rotate(0deg) translateX(140px) rotate(0deg); }
|
| 106 |
+
#step2 { background-color: #FFDD99; transform: rotate(36deg) translateX(140px) rotate(-36deg); }
|
| 107 |
+
#step3 { background-color: #FFFF99; transform: rotate(72deg) translateX(140px) rotate(-72deg); }
|
| 108 |
+
#step4 { background-color: #CCFFCC; transform: rotate(108deg) translateX(140px) rotate(-108deg); }
|
| 109 |
+
#step5 { background-color: #CCE5FF; transform: rotate(144deg) translateX(140px) rotate(-144deg); }
|
| 110 |
+
#step6 { background-color: #E5CCFF; transform: rotate(180deg) translateX(140px) rotate(-180deg); }
|
| 111 |
+
#step7 { background-color: #FFD9E6; transform: rotate(216deg) translateX(140px) rotate(-216deg); }
|
| 112 |
+
#step8 { background-color: #FFF5CC; transform: rotate(252deg) translateX(140px) rotate(-252deg); }
|
| 113 |
+
#step9 { background-color: #D9FFF5; transform: rotate(288deg) translateX(140px) rotate(-288deg); }
|
| 114 |
+
#step10 { background-color: #D9CCFF; transform: rotate(324deg) translateX(140px) rotate(-324deg); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
a {
|
| 116 |
+
color: #333; /* Link color */
|
| 117 |
text-decoration: none;
|
| 118 |
}
|
| 119 |
a:hover {
|
| 120 |
+
color: yellow; /* Color on hover */
|
| 121 |
+
text-decoration: underline; /* Underline on hover */
|
| 122 |
}
|
| 123 |
</style>
|
| 124 |
</head>
|
|
|
|
| 144 |
</html>
|
| 145 |
"""
|
| 146 |
|
| 147 |
+
# Streamlit: Display the updated HTML with lighter colors
|
| 148 |
st.markdown(html_code_updated, unsafe_allow_html=True)
|