shwetashweta05 commited on
Commit
5b62439
·
verified ·
1 Parent(s): 71c5b31

Update pages/Automatic_Machine_learning_app.py

Browse files
pages/Automatic_Machine_learning_app.py CHANGED
@@ -3,29 +3,34 @@ import pandas as pd
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
 
3
  import numpy as np
4
  import plotly.express as px
5
 
6
+ # Page Configuration
7
+ st.set_page_config(page_title="🏏 Cricket Players Hub", layout="wide")
8
 
9
+ # Custom Background & Style
10
+ st.markdown(
11
+ """
12
+ <style>
13
  .stApp {
14
+ background: linear-gradient(to right, #eef2ff, #c7d2fe);
 
 
 
 
15
  color: #1f2937;
16
  }
17
+ .stTitle {
18
+ text-align: center;
19
+ color: #374151;
20
+ }
21
  .stSelectbox {
22
+ background-color: white;
23
  border-radius: 8px;
24
  padding: 5px;
25
  }
26
+ .css-1cpxqw2 {
27
+ border-radius: 12px;
28
+ }
29
+ </style>
30
+ """,
31
+ unsafe_allow_html=True
32
+ )
33
+
34
  st.markdown(background_style, unsafe_allow_html=True)
35
 
36
  # Set page title