Spaces:
Sleeping
Sleeping
Update pages/1_Hotel_Data.py
Browse files- pages/1_Hotel_Data.py +24 -0
pages/1_Hotel_Data.py
CHANGED
|
@@ -9,6 +9,30 @@ DATA_FILE_PATH = "dataset.csv"
|
|
| 9 |
|
| 10 |
# Page Title
|
| 11 |
st.markdown("<h1 style='text-align:center; color:#FFD700;'>Hotel Data Set</h1>", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# Function to load the dataset
|
| 14 |
def load_dataset():
|
|
|
|
| 9 |
|
| 10 |
# Page Title
|
| 11 |
st.markdown("<h1 style='text-align:center; color:#FFD700;'>Hotel Data Set</h1>", unsafe_allow_html=True)
|
| 12 |
+
# CSS styles
|
| 13 |
+
st.markdown(
|
| 14 |
+
"""
|
| 15 |
+
<style>
|
| 16 |
+
body {
|
| 17 |
+
background-color: black; /* Set background color to black */
|
| 18 |
+
}
|
| 19 |
+
.header {
|
| 20 |
+
color: #FFD700; /* Gold for the header */
|
| 21 |
+
font-size: 48px; /* Larger font size for the header */
|
| 22 |
+
font-weight: bold;
|
| 23 |
+
text-align: center; /* Center-align the header */
|
| 24 |
+
}
|
| 25 |
+
.subheader {
|
| 26 |
+
color: #D3D3D3; /* Light Gray for the subheader */
|
| 27 |
+
font-size: 32px; /* Slightly smaller font size for the subheader */
|
| 28 |
+
font-weight: normal;
|
| 29 |
+
text-align: center; /* Center-align the subheader */
|
| 30 |
+
}
|
| 31 |
+
</style>
|
| 32 |
+
""",
|
| 33 |
+
unsafe_allow_html=True,
|
| 34 |
+
)
|
| 35 |
+
|
| 36 |
|
| 37 |
# Function to load the dataset
|
| 38 |
def load_dataset():
|