LakshmiHarika commited on
Commit
47f890a
·
verified ·
1 Parent(s): 3a30bd5

Update pages/3Life Cycle of Machine Learning Project.py

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -1,4 +1,48 @@
1
- # Updated HTML for professional and aesthetic appearance
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  html_code_updated = """
3
  <!DOCTYPE html>
4
  <html lang="en">
 
1
+ import streamlit as st
2
+
3
+ # Set page configuration
4
+ st.set_page_config(
5
+ page_title="HomePage",
6
+ page_icon="🚀",
7
+ layout="wide"
8
+ )
9
+
10
+ # Global CSS for consistent styling across all pages
11
+ st.markdown("""
12
+ <style>
13
+ body, .stApp {
14
+ color: #4F4F4F; /* Replace with your desired font color */
15
+ background-color: #FFFFFF; /* Optional: Set a fixed background color */
16
+ }
17
+ h1, h2, h3, h4, h5, h6 {
18
+ color: #BB3385; /* Replace with your heading color */
19
+ }
20
+ p {
21
+ color: #4F4F4F; /* Replace with your paragraph text color */
22
+ }
23
+ ul li {
24
+ color: #4F4F4F; /* List item color */
25
+ }
26
+ </style>
27
+ """, unsafe_allow_html=True)
28
+
29
+ # Background image for the Streamlit app
30
+ st.markdown("""
31
+ <style>
32
+ .stApp {
33
+ 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");
34
+ background-size: cover;
35
+ background-repeat: no-repeat;
36
+ background-attachment: fixed;
37
+ }
38
+ </style>
39
+ """, unsafe_allow_html=True)
40
+
41
+ # Title of the page
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 the circle representation
46
  html_code_updated = """
47
  <!DOCTYPE html>
48
  <html lang="en">