ronakreddy18 commited on
Commit
ba9824e
·
verified ·
1 Parent(s): af08a73

Update pages/LIFE_CYCLE_OF_MACHINE_LEARNING.py

Browse files
pages/LIFE_CYCLE_OF_MACHINE_LEARNING.py CHANGED
@@ -6,17 +6,19 @@ from PIL import Image
6
  import numpy as np
7
  import matplotlib.pyplot as plt
8
 
9
- # Inject custom CSS to style the buttons
10
- st.markdown("""
11
  <style>
12
- .stButton>button {
13
- background-color: #4CAF50;
14
- color: white;
15
- width: 100%;
 
16
  }
17
  </style>
18
- """, unsafe_allow_html=True)
19
-
 
20
  # Initialize page navigation state
21
  if 'page' not in st.session_state:
22
  st.session_state.page = "home" # Default page is "home"
 
6
  import numpy as np
7
  import matplotlib.pyplot as plt
8
 
9
+ st.markdown(
10
+ """
11
  <style>
12
+ .stApp {
13
+ background-image: url("https://huggingface.co/spaces/ronakreddy18/Zerotoheroinmachinelearning/resolve/main/ai-technology-brain-background-digital-transformation-concept.jpg");
14
+ background-size: cover;
15
+ background-repeat: no-repeat;
16
+ background-attachment: fixed;
17
  }
18
  </style>
19
+ """,
20
+ unsafe_allow_html=True
21
+ )
22
  # Initialize page navigation state
23
  if 'page' not in st.session_state:
24
  st.session_state.page = "home" # Default page is "home"