Spaces:
Sleeping
Sleeping
Update pages/3Life Cycle of Machine Learning Project.py
Browse files
pages/3Life Cycle of Machine Learning Project.py
CHANGED
|
@@ -1,44 +1,3 @@
|
|
| 1 |
-
import streamlit as st
|
| 2 |
-
|
| 3 |
-
st.set_page_config(
|
| 4 |
-
page_title="HomePage",
|
| 5 |
-
page_icon="🚀",
|
| 6 |
-
layout="wide"
|
| 7 |
-
)
|
| 8 |
-
|
| 9 |
-
# Global CSS for consistent styling across all pages
|
| 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)
|
| 24 |
-
|
| 25 |
-
st.markdown(
|
| 26 |
-
"""
|
| 27 |
-
<style>
|
| 28 |
-
.stApp {
|
| 29 |
-
background-image: url("https://huggingface.co/spaces/LakshmiHarika/MachineLearning/resolve/main/DALL%C2%B7E%202024-12-03%2023.34.47%20-%20A%20simple%20and%20elegant%20background%20image%20for%20an%20AI-themed%20web%20application.%20The%20background%20should%20feature%20a%20soft%20gradient%20transitioning%20from%20white%20to%20ligh.webp");
|
| 30 |
-
background-size: cover;
|
| 31 |
-
background-repeat: no-repeat;
|
| 32 |
-
background-attachment: fixed;
|
| 33 |
-
}
|
| 34 |
-
</style>
|
| 35 |
-
""",
|
| 36 |
-
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 = """
|
| 44 |
<!DOCTYPE html>
|
|
@@ -56,7 +15,6 @@ 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;
|
|
@@ -84,7 +42,7 @@ html_code = """
|
|
| 84 |
}
|
| 85 |
.step {
|
| 86 |
background-color: #007bff;
|
| 87 |
-
color:
|
| 88 |
padding: 15px 30px;
|
| 89 |
border-radius: 8px;
|
| 90 |
cursor: pointer;
|
|
@@ -141,14 +99,6 @@ html_code = """
|
|
| 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 {
|
| 149 |
-
color: yellow; /* Color on hover */
|
| 150 |
-
text-decoration: underline; /* Underline on hover */
|
| 151 |
-
}
|
| 152 |
</style>
|
| 153 |
</head>
|
| 154 |
<body>
|
|
@@ -175,4 +125,3 @@ html_code = """
|
|
| 175 |
|
| 176 |
# Streamlit: Display the HTML circle with properly spaced steps
|
| 177 |
st.markdown(html_code, unsafe_allow_html=True)
|
| 178 |
-
st.write(' ')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Circle Representation HTML and CSS (properly rendered)
|
| 2 |
html_code = """
|
| 3 |
<!DOCTYPE html>
|
|
|
|
| 15 |
height: 100vh;
|
| 16 |
margin: 0;
|
| 17 |
background-color: #f4f4f9;
|
|
|
|
| 18 |
}
|
| 19 |
.container {
|
| 20 |
text-align: center;
|
|
|
|
| 42 |
}
|
| 43 |
.step {
|
| 44 |
background-color: #007bff;
|
| 45 |
+
color: #000; /* Changed text color to black */
|
| 46 |
padding: 15px 30px;
|
| 47 |
border-radius: 8px;
|
| 48 |
cursor: pointer;
|
|
|
|
| 99 |
background-color: #D9CCFF;
|
| 100 |
transform: rotate(324deg) translateX(140px) rotate(-324deg);
|
| 101 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
</style>
|
| 103 |
</head>
|
| 104 |
<body>
|
|
|
|
| 125 |
|
| 126 |
# Streamlit: Display the HTML circle with properly spaced steps
|
| 127 |
st.markdown(html_code, unsafe_allow_html=True)
|
|
|