Mpavan45 commited on
Commit
73eb50e
·
verified ·
1 Parent(s): ebd0b63

Update Home.py

Browse files

![bakground_11zon.jpg](https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/DmapBvMrtWJ2e-hVuW5wL.jpeg)

Files changed (1) hide show
  1. Home.py +22 -0
Home.py CHANGED
@@ -39,4 +39,26 @@ st.markdown("""
39
  #### By integrating **machine learning** with **data analysis**, this project empowers hotel businesses to enhance customer satisfaction, optimize pricing strategies, and maximize profitability.
40
  """, unsafe_allow_html=True)
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
 
39
  #### By integrating **machine learning** with **data analysis**, this project empowers hotel businesses to enhance customer satisfaction, optimize pricing strategies, and maximize profitability.
40
  """, unsafe_allow_html=True)
41
 
42
+ import streamlit as st
43
+
44
+ # Define the URL of the background image (use your own image URL)
45
+ background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/DmapBvMrtWJ2e-hVuW5wL.jpeg"
46
+
47
+ # Apply custom CSS for the background image
48
+ st.markdown(
49
+ f"""
50
+ <style>
51
+ .stApp {{
52
+ background-image: url("{background_image_url}");
53
+ background-size: cover;
54
+ background-position: center;
55
+ height: 100vh;
56
+ }}
57
+ </style>
58
+ """,
59
+ unsafe_allow_html=True
60
+ )
61
+
62
+
63
+
64