LakshmiHarika commited on
Commit
0d64dc6
·
verified ·
1 Parent(s): 87a8769

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 circular flowchart
51
  st.markdown(
52
  """
53
  <style>
@@ -82,34 +82,34 @@ st.markdown(
82
 
83
  /* Positions for each phase */
84
  .phase-1 { top: 10px; left: 200px; background-color: #4CAF50; } /* Top */
85
- .phase-2 { top: 70px; left: 320px; background-color: #03A9F4; } /* Top-right */
86
- .phase-3 { top: 180px; left: 400px; background-color: #FFC107; } /* Right */
87
- .phase-4 { top: 310px; left: 340px; background-color: #FF7043; } /* Bottom-right */
88
- .phase-5 { top: 380px; left: 200px; background-color: #8BC34A; } /* Bottom */
89
- .phase-6 { top: 310px; left: 60px; background-color: #673AB7; } /* Bottom-left */
90
- .phase-7 { top: 180px; left: 0px; background-color: #E91E63; } /* Left */
91
- .phase-8 { top: 70px; left: 70px; background-color: #607D8B; } /* Top-left */
92
- .phase-9 { top: 40px; left: 150px; background-color: #00BCD4; } /* Between Top-left and Top */
93
- .phase-10 { top: 40px; left: 270px; background-color: #FF9800; } /* Between Top-right and Top */
94
 
95
  /* Arrow styling */
96
  .arrow {
97
  position: absolute;
98
  font-size: 22px;
99
- color: #6C757D; /* Neutral gray for arrows */
100
  }
101
 
102
  /* Arrow positions */
103
  .arrow-1 { top: 50px; left: 270px; transform: rotate(45deg); } /* Between Phase 1 and 2 */
104
  .arrow-2 { top: 150px; left: 370px; transform: rotate(90deg); } /* Between Phase 2 and 3 */
105
- .arrow-3 { top: 270px; left: 370px; transform: rotate(135deg); } /* Between Phase 3 and 4 */
106
- .arrow-4 { top: 360px; left: 270px; transform: rotate(180deg); } /* Between Phase 4 and 5 */
107
- .arrow-5 { top: 360px; left: 120px; transform: rotate(225deg); } /* Between Phase 5 and 6 */
108
- .arrow-6 { top: 270px; left: 20px; transform: rotate(270deg); } /* Between Phase 6 and 7 */
109
  .arrow-7 { top: 150px; left: 20px; transform: rotate(-45deg); } /* Between Phase 7 and 8 */
110
  .arrow-8 { top: 50px; left: 120px; transform: rotate(0deg); } /* Between Phase 8 and 9 */
111
- .arrow-9 { top: 10px; left: 220px; transform: rotate(45deg); } /* Between Phase 9 and 10 */
112
- .arrow-10 { top: 10px; left: 270px; transform: rotate(-45deg); } /* Between Phase 10 and 1 */
113
 
114
  .phase:hover {
115
  transform: scale(1.1);
 
47
 
48
  import streamlit as st
49
 
50
+ # Inject custom CSS for the circular flowchart with corrected arrows
51
  st.markdown(
52
  """
53
  <style>
 
82
 
83
  /* Positions for each phase */
84
  .phase-1 { top: 10px; left: 200px; background-color: #4CAF50; } /* Top */
85
+ .phase-2 { top: 80px; left: 320px; background-color: #03A9F4; } /* Top-right */
86
+ .phase-3 { top: 200px; left: 400px; background-color: #FFC107; } /* Right */
87
+ .phase-4 { top: 330px; left: 320px; background-color: #FF7043; } /* Bottom-right */
88
+ .phase-5 { top: 400px; left: 200px; background-color: #8BC34A; } /* Bottom */
89
+ .phase-6 { top: 330px; left: 80px; background-color: #673AB7; } /* Bottom-left */
90
+ .phase-7 { top: 200px; left: 0px; background-color: #E91E63; } /* Left */
91
+ .phase-8 { top: 80px; left: 80px; background-color: #607D8B; } /* Top-left */
92
+ .phase-9 { top: 40px; left: 140px; background-color: #00BCD4; } /* Between Top-left and Top */
93
+ .phase-10 { top: 40px; left: 260px; background-color: #FF9800; } /* Between Top-right and Top */
94
 
95
  /* Arrow styling */
96
  .arrow {
97
  position: absolute;
98
  font-size: 22px;
99
+ color: #1E90FF; /* Dark blue for arrows */
100
  }
101
 
102
  /* Arrow positions */
103
  .arrow-1 { top: 50px; left: 270px; transform: rotate(45deg); } /* Between Phase 1 and 2 */
104
  .arrow-2 { top: 150px; left: 370px; transform: rotate(90deg); } /* Between Phase 2 and 3 */
105
+ .arrow-3 { top: 280px; left: 370px; transform: rotate(135deg); } /* Between Phase 3 and 4 */
106
+ .arrow-4 { top: 370px; left: 270px; transform: rotate(180deg); } /* Between Phase 4 and 5 */
107
+ .arrow-5 { top: 370px; left: 120px; transform: rotate(225deg); } /* Between Phase 5 and 6 */
108
+ .arrow-6 { top: 280px; left: 20px; transform: rotate(270deg); } /* Between Phase 6 and 7 */
109
  .arrow-7 { top: 150px; left: 20px; transform: rotate(-45deg); } /* Between Phase 7 and 8 */
110
  .arrow-8 { top: 50px; left: 120px; transform: rotate(0deg); } /* Between Phase 8 and 9 */
111
+ .arrow-9 { top: 20px; left: 200px; transform: rotate(45deg); } /* Between Phase 9 and 10 */
112
+ .arrow-10 { top: 20px; left: 280px; transform: rotate(-45deg); } /* Between Phase 10 and 1 */
113
 
114
  .phase:hover {
115
  transform: scale(1.1);