LakshmiHarika commited on
Commit
8f01f62
·
verified ·
1 Parent(s): edfd8a0

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

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -47,7 +47,7 @@ st.markdown("""
47
 
48
  import streamlit as st
49
 
50
- # Inject custom CSS for the straight vertical flowchart
51
  st.markdown(
52
  """
53
  <style>
@@ -60,18 +60,18 @@ st.markdown(
60
  align-items: center;
61
  }
62
 
63
- /* Styling for each phase (circle) */
64
  .phase {
65
  position: relative;
66
- width: 130px; /* Circle size */
67
- height: 130px;
68
  background-color: #F8F9FA; /* Light background */
69
  color: #000000; /* Black text */
70
- border-radius: 50%;
71
  display: flex;
72
  justify-content: center;
73
  align-items: center;
74
- font-size: 14px; /* Text size */
75
  font-weight: bold;
76
  text-align: center;
77
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
@@ -89,28 +89,28 @@ st.markdown(
89
  color: #000000; /* Black arrow */
90
  }
91
 
92
- /* Custom colors for each phase */
93
- .phase-1 { background-color: #4CAF50; } /* Green */
94
- .phase-2 { background-color: #03A9F4; } /* Blue */
95
- .phase-3 { background-color: #FFC107; } /* Yellow */
96
- .phase-4 { background-color: #FF7043; } /* Orange */
97
- .phase-5 { background-color: #8BC34A; } /* Light Green */
98
- .phase-6 { background-color: #673AB7; } /* Purple */
99
- .phase-7 { background-color: #E91E63; } /* Pink */
100
- .phase-8 { background-color: #607D8B; } /* Gray-Blue */
101
- .phase-9 { background-color: #00BCD4; } /* Cyan */
102
- .phase-10 { background-color: #FF9800; } /* Amber */
103
 
104
  .phase:hover {
105
- transform: scale(1.1);
106
- background-color: #E9ECEF; /* Slightly lighter on hover */
107
  }
108
  </style>
109
  """,
110
  unsafe_allow_html=True,
111
  )
112
 
113
- # HTML structure for the straight flowchart
114
  st.markdown(
115
  """
116
  <div class="vertical-flowchart">
 
47
 
48
  import streamlit as st
49
 
50
+ # Inject custom CSS for the vertical flowchart
51
  st.markdown(
52
  """
53
  <style>
 
60
  align-items: center;
61
  }
62
 
63
+ /* Styling for each phase (rectangle) */
64
  .phase {
65
  position: relative;
66
+ width: 300px; /* Rectangle width */
67
+ height: 60px; /* Rectangle height */
68
  background-color: #F8F9FA; /* Light background */
69
  color: #000000; /* Black text */
70
+ border-radius: 8px; /* Rounded edges */
71
  display: flex;
72
  justify-content: center;
73
  align-items: center;
74
+ font-size: 16px; /* Text size */
75
  font-weight: bold;
76
  text-align: center;
77
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 
89
  color: #000000; /* Black arrow */
90
  }
91
 
92
+ /* Custom light colors for each phase */
93
+ .phase-1 { background-color: #E6F4EA; } /* Light Green */
94
+ .phase-2 { background-color: #E0F7FA; } /* Light Blue */
95
+ .phase-3 { background-color: #FFF9C4; } /* Light Yellow */
96
+ .phase-4 { background-color: #FFE0B2; } /* Light Orange */
97
+ .phase-5 { background-color: #DCEDC8; } /* Light Green */
98
+ .phase-6 { background-color: #D1C4E9; } /* Light Purple */
99
+ .phase-7 { background-color: #F8BBD0; } /* Light Pink */
100
+ .phase-8 { background-color: #CFD8DC; } /* Light Gray-Blue */
101
+ .phase-9 { background-color: #B2EBF2; } /* Light Cyan */
102
+ .phase-10 { background-color: #FFE082; } /* Light Amber */
103
 
104
  .phase:hover {
105
+ transform: scale(1.05);
106
+ background-color: #F0F0F0; /* Slightly lighter on hover */
107
  }
108
  </style>
109
  """,
110
  unsafe_allow_html=True,
111
  )
112
 
113
+ # HTML structure for the vertical flowchart
114
  st.markdown(
115
  """
116
  <div class="vertical-flowchart">