LakshmiHarika commited on
Commit
e2827a6
·
verified ·
1 Parent(s): b484890

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

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -44,10 +44,9 @@ st.markdown("""
44
  <div style="text-align: center; margin-top: 20px;">
45
  <h1 style="color: #BB3385;">Life Cycle of End to End ML Project</h1></div>""", unsafe_allow_html=True)
46
 
47
-
48
  import streamlit as st
49
 
50
- # CSS for Buttons, Circular Layout, and Arrows
51
  custom_css = """
52
  <style>
53
  .circle-container {
@@ -80,43 +79,22 @@ custom_css = """
80
  background-color: #3e8e41;
81
  }
82
  /* Circular positions for the buttons */
83
- .circle-button:nth-child(1) { top: 5%; left: 50%; transform: translate(-50%, -50%); } /* Top */
84
- .circle-button:nth-child(2) { top: 20%; left: 80%; transform: translate(-50%, -50%); }
85
- .circle-button:nth-child(3) { top: 50%; left: 95%; transform: translate(-50%, -50%); }
86
- .circle-button:nth-child(4) { top: 80%; left: 80%; transform: translate(-50%, -50%); }
87
- .circle-button:nth-child(5) { top: 95%; left: 50%; transform: translate(-50%, -50%); } /* Bottom */
88
- .circle-button:nth-child(6) { top: 80%; left: 20%; transform: translate(-50%, -50%); }
89
- .circle-button:nth-child(7) { top: 50%; left: 5%; transform: translate(-50%, -50%); }
90
- .circle-button:nth-child(8) { top: 20%; left: 20%; transform: translate(-50%, -50%); }
91
- .circle-button:nth-child(9) { top: 10%; left: 35%; transform: translate(-50%, -50%); }
92
- .circle-button:nth-child(10) { top: 10%; left: 65%; transform: translate(-50%, -50%); }
93
-
94
- /* Arrow styles */
95
- .arrow {
96
- position: absolute;
97
- width: 50px;
98
- height: 50px;
99
- border-left: 2px solid green;
100
- border-bottom: 2px solid green;
101
- transform: rotate(-45deg);
102
- }
103
- /* Position arrows */
104
- .arrow-1 { top: 10%; left: 65%; transform: translate(-50%, -50%) rotate(30deg); }
105
- .arrow-2 { top: 35%; left: 85%; transform: translate(-50%, -50%) rotate(60deg); }
106
- .arrow-3 { top: 65%; left: 85%; transform: translate(-50%, -50%) rotate(90deg); }
107
- .arrow-4 { top: 90%; left: 65%; transform: translate(-50%, -50%) rotate(120deg); }
108
- .arrow-5 { top: 90%; left: 35%; transform: translate(-50%, -50%) rotate(150deg); }
109
- .arrow-6 { top: 65%; left: 15%; transform: translate(-50%, -50%) rotate(180deg); }
110
- .arrow-7 { top: 35%; left: 15%; transform: translate(-50%, -50%) rotate(210deg); }
111
- .arrow-8 { top: 10%; left: 35%; transform: translate(-50%, -50%) rotate(240deg); }
112
- .arrow-9 { top: 5%; left: 50%; transform: translate(-50%, -50%) rotate(270deg); }
113
  </style>
114
  """
115
 
116
- # HTML for Buttons and Arrows
117
  html_content = """
118
  <div class="circle-container">
119
- <!-- Buttons -->
120
  <div class="circle-button">Step 1</div>
121
  <div class="circle-button">Step 2</div>
122
  <div class="circle-button">Step 3</div>
@@ -127,17 +105,6 @@ html_content = """
127
  <div class="circle-button">Step 8</div>
128
  <div class="circle-button">Step 9</div>
129
  <div class="circle-button">Step 10</div>
130
-
131
- <!-- Arrows -->
132
- <div class="arrow arrow-1"></div>
133
- <div class="arrow arrow-2"></div>
134
- <div class="arrow arrow-3"></div>
135
- <div class="arrow arrow-4"></div>
136
- <div class="arrow arrow-5"></div>
137
- <div class="arrow arrow-6"></div>
138
- <div class="arrow arrow-7"></div>
139
- <div class="arrow arrow-8"></div>
140
- <div class="arrow arrow-9"></div>
141
  </div>
142
  """
143
 
 
44
  <div style="text-align: center; margin-top: 20px;">
45
  <h1 style="color: #BB3385;">Life Cycle of End to End ML Project</h1></div>""", unsafe_allow_html=True)
46
 
 
47
  import streamlit as st
48
 
49
+ # CSS for Circular Buttons and Proper Layout
50
  custom_css = """
51
  <style>
52
  .circle-container {
 
79
  background-color: #3e8e41;
80
  }
81
  /* Circular positions for the buttons */
82
+ .circle-button:nth-child(1) { top: 10%; left: 50%; transform: translate(-50%, -50%); } /* Top */
83
+ .circle-button:nth-child(2) { top: 25%; left: 75%; transform: translate(-50%, -50%); }
84
+ .circle-button:nth-child(3) { top: 50%; left: 90%; transform: translate(-50%, -50%); }
85
+ .circle-button:nth-child(4) { top: 75%; left: 75%; transform: translate(-50%, -50%); }
86
+ .circle-button:nth-child(5) { top: 90%; left: 50%; transform: translate(-50%, -50%); } /* Bottom */
87
+ .circle-button:nth-child(6) { top: 75%; left: 25%; transform: translate(-50%, -50%); }
88
+ .circle-button:nth-child(7) { top: 50%; left: 10%; transform: translate(-50%, -50%); }
89
+ .circle-button:nth-child(8) { top: 25%; left: 25%; transform: translate(-50%, -50%); }
90
+ .circle-button:nth-child(9) { top: 15%; left: 35%; transform: translate(-50%, -50%); }
91
+ .circle-button:nth-child(10) { top: 15%; left: 65%; transform: translate(-50%, -50%); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  </style>
93
  """
94
 
95
+ # HTML for Buttons
96
  html_content = """
97
  <div class="circle-container">
 
98
  <div class="circle-button">Step 1</div>
99
  <div class="circle-button">Step 2</div>
100
  <div class="circle-button">Step 3</div>
 
105
  <div class="circle-button">Step 8</div>
106
  <div class="circle-button">Step 9</div>
107
  <div class="circle-button">Step 10</div>
 
 
 
 
 
 
 
 
 
 
 
108
  </div>
109
  """
110