Spaces:
Sleeping
Sleeping
Update pages/3Life Cycle of Machine Learning Project.py
Browse files
pages/3Life Cycle of Machine Learning Project.py
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Circle Representation HTML and CSS (properly rendered)
|
| 2 |
html_code = """
|
| 3 |
<!DOCTYPE html>
|
|
|
|
| 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: #4F4F4F; /* Replace with your desired font color */
|
| 14 |
+
background-color: #FFFFFF; /* Optional: Set a fixed background color */
|
| 15 |
+
}
|
| 16 |
+
h1, h2, h3, h4, h5, h6 {
|
| 17 |
+
color: #BB3385; /* Replace with your heading color */
|
| 18 |
+
}
|
| 19 |
+
p {
|
| 20 |
+
color: #4F4F4F; /* Replace with your paragraph text color */
|
| 21 |
+
}
|
| 22 |
+
ul li {
|
| 23 |
+
color: #4F4F4F; /* List item color */
|
| 24 |
+
}
|
| 25 |
+
</style>
|
| 26 |
+
""", unsafe_allow_html=True)
|
| 27 |
+
|
| 28 |
+
st.markdown(
|
| 29 |
+
"""
|
| 30 |
+
<style>
|
| 31 |
+
.stApp {
|
| 32 |
+
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");
|
| 33 |
+
background-size: cover;
|
| 34 |
+
background-repeat: no-repeat;
|
| 35 |
+
background-attachment: fixed;
|
| 36 |
+
}
|
| 37 |
+
</style>
|
| 38 |
+
""",
|
| 39 |
+
unsafe_allow_html=True
|
| 40 |
+
)
|
| 41 |
+
|
| 42 |
+
# Title of the page
|
| 43 |
+
st.markdown("""<div style="text-align: left; margin-top: 20px;"><h1 style="color: #BB3385;">Life Cycle of End to End ML Project</h1></div>""", unsafe_allow_html=True)
|
| 44 |
+
|
| 45 |
# Circle Representation HTML and CSS (properly rendered)
|
| 46 |
html_code = """
|
| 47 |
<!DOCTYPE html>
|