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 |
-
#
|
| 7 |
-
st.set_page_config(page_title="🏏 Cricket
|
| 8 |
|
| 9 |
-
#
|
| 10 |
-
|
| 11 |
-
|
|
|
|
| 12 |
.stApp {
|
| 13 |
-
background: linear-gradient(to right, #
|
| 14 |
-
}
|
| 15 |
-
|
| 16 |
-
/* Style titles and headers */
|
| 17 |
-
h1, h2, h3, h4 {
|
| 18 |
color: #1f2937;
|
| 19 |
}
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
| 22 |
.stSelectbox {
|
| 23 |
-
background: white;
|
| 24 |
border-radius: 8px;
|
| 25 |
padding: 5px;
|
| 26 |
}
|
| 27 |
-
|
| 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
|