Sathwikchowdary commited on
Commit
8a99e88
·
verified ·
1 Parent(s): ed9f883

Update pages/Life_cycle_of_ML.py

Browse files
Files changed (1) hide show
  1. pages/Life_cycle_of_ML.py +9 -22
pages/Life_cycle_of_ML.py CHANGED
@@ -1,16 +1,17 @@
1
  import streamlit as st
2
 
3
- # Add custom CSS for background image
 
 
 
 
 
 
 
 
4
  st.markdown(
5
  """
6
  <style>
7
- body {
8
- background-image: url('https://www.istockphoto.com/photo/quantum-computing-with-of-device-screen-gm2155253966-576078683?utm_source=pixabay&utm_medium=affiliate&utm_campaign=SRP_photo_sponsored&utm_content=https%3A%2F%2Fpixabay.com%2Fphotos%2Fsearch%2Fbackground%2520datascience%2F&utm_term=background+datascience');
9
- background-size: cover;
10
- background-position: center;
11
- background-attachment: fixed;
12
- color: #FFFFFF;
13
- }
14
  .shape-box {
15
  background-color: rgba(255, 221, 193, 0.8);
16
  padding: 10px;
@@ -33,21 +34,7 @@ st.markdown(
33
  margin-bottom: 10px;
34
  }
35
  </style>
36
- """,
37
- unsafe_allow_html=True,
38
- )
39
-
40
- # Function to display lifecycle descriptions
41
- def display_lifecycle_stage(stage_name, description):
42
- st.subheader(stage_name)
43
- st.write(description)
44
 
45
- # Title
46
- st.title("Enhanced Machine Learning Life Cycle")
47
-
48
- # Markdown Diagram with Shapes and Colors
49
- st.markdown(
50
- """
51
  <div class="shape-box">Problem Statement</div>
52
  <div class="shape-circle">Data Collection</div>
53
  <div class="shape-box">Simple EDA</div>
 
1
  import streamlit as st
2
 
3
+ # Function to display lifecycle descriptions
4
+ def display_lifecycle_stage(stage_name, description):
5
+ st.subheader(stage_name)
6
+ st.write(description)
7
+
8
+ # Title
9
+ st.title("Enhanced Machine Learning Life Cycle")
10
+
11
+ # Markdown Diagram with Shapes and Colors
12
  st.markdown(
13
  """
14
  <style>
 
 
 
 
 
 
 
15
  .shape-box {
16
  background-color: rgba(255, 221, 193, 0.8);
17
  padding: 10px;
 
34
  margin-bottom: 10px;
35
  }
36
  </style>
 
 
 
 
 
 
 
 
37
 
 
 
 
 
 
 
38
  <div class="shape-box">Problem Statement</div>
39
  <div class="shape-circle">Data Collection</div>
40
  <div class="shape-box">Simple EDA</div>