Spaces:
Sleeping
Sleeping
Update pages/1_Hotel_Data.py
Browse files- pages/1_Hotel_Data.py +17 -0
pages/1_Hotel_Data.py
CHANGED
|
@@ -56,4 +56,21 @@ if df is not None:
|
|
| 56 |
st.write(df.shape)
|
| 57 |
else:
|
| 58 |
st.info("No dataset found. Please upload a CSV file.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
|
|
|
| 56 |
st.write(df.shape)
|
| 57 |
else:
|
| 58 |
st.info("No dataset found. Please upload a CSV file.")
|
| 59 |
+
# Define the URL of the background image (use your own image URL)
|
| 60 |
+
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/HjW7hOgulTijaArK4lMUL.jpeg"
|
| 61 |
+
|
| 62 |
+
# Apply custom CSS for the background image
|
| 63 |
+
st.markdown(
|
| 64 |
+
f"""
|
| 65 |
+
<style>
|
| 66 |
+
.stApp {{
|
| 67 |
+
background-image: url("{background_image_url}");
|
| 68 |
+
background-size: cover;
|
| 69 |
+
background-position: center;
|
| 70 |
+
height: 100vh;
|
| 71 |
+
}}
|
| 72 |
+
</style>
|
| 73 |
+
""",
|
| 74 |
+
unsafe_allow_html=True
|
| 75 |
+
)
|
| 76 |
|