shwetashweta05 commited on
Commit
71c5b31
·
verified ·
1 Parent(s): 4a10d59

Update pages/Automatic_Machine_learning_app.py

Browse files
pages/Automatic_Machine_learning_app.py CHANGED
@@ -3,18 +3,30 @@ import pandas as pd
3
  import numpy as np
4
  import plotly.express as px
5
 
6
- st.set_page_config(page_title="🏏 Cricket Icons", layout="wide")
 
7
 
8
- # Background image CSS
9
- background_image = """
10
  <style>
11
  .stApp {
12
- background: url('https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e') no-repeat center center fixed;
13
- background-size: cover;
 
 
 
 
 
 
 
 
 
 
 
14
  }
15
  </style>
16
  """
17
- st.markdown(background_image, unsafe_allow_html=True)
18
 
19
  # Set page title
20
  st.title("Cricket Icons")
 
3
  import numpy as np
4
  import plotly.express as px
5
 
6
+ # Set page title
7
+ st.set_page_config(page_title="🏏 Cricket Stats", layout="wide")
8
 
9
+ # Simple Gradient Background
10
+ background_style = """
11
  <style>
12
  .stApp {
13
+ background: linear-gradient(to right, #f3f4f6, #e0e7ff);
14
+ }
15
+
16
+ /* Style titles and headers */
17
+ h1, h2, h3, h4 {
18
+ color: #1f2937;
19
+ }
20
+
21
+ /* Style selection boxes */
22
+ .stSelectbox {
23
+ background: white;
24
+ border-radius: 8px;
25
+ padding: 5px;
26
  }
27
  </style>
28
  """
29
+ st.markdown(background_style, unsafe_allow_html=True)
30
 
31
  # Set page title
32
  st.title("Cricket Icons")