Mpavan45 commited on
Commit
6cb5182
·
verified ·
1 Parent(s): 5753bbf

Update pages/0_Problem Statement.py

Browse files
Files changed (1) hide show
  1. pages/0_Problem Statement.py +18 -1
pages/0_Problem Statement.py CHANGED
@@ -20,4 +20,21 @@ st.write("""
20
  **Problem Statement:** The goal is to build a predictive model that can classify room listings into predefined categories (e.g., budget, standard, premium, luxury) using the provided features. The challenge lies in choosing the best machine learning model and its hyperparameters to minimize classification error, particularly focusing on log-loss as the evaluation metric.
21
  """)
22
 
23
- st.markdown("![Problem_Statement-768x432.jpg](https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/4WmVeJ5lMh1PoSlCYWKp9.jpeg)")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  **Problem Statement:** The goal is to build a predictive model that can classify room listings into predefined categories (e.g., budget, standard, premium, luxury) using the provided features. The challenge lies in choosing the best machine learning model and its hyperparameters to minimize classification error, particularly focusing on log-loss as the evaluation metric.
21
  """)
22
 
23
+ st.markdown("![Problem_Statement-768x432.jpg](https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/4WmVeJ5lMh1PoSlCYWKp9.jpeg)")
24
+ # Define the URL of the background image (use your own image URL)
25
+ background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/HjW7hOgulTijaArK4lMUL.jpeg"
26
+
27
+ # Apply custom CSS for the background image
28
+ st.markdown(
29
+ f"""
30
+ <style>
31
+ .stApp {{
32
+ background-image: url("{background_image_url}");
33
+ background-size: cover;
34
+ background-position: center;
35
+ height: 100vh;
36
+ }}
37
+ </style>
38
+ """,
39
+ unsafe_allow_html=True
40
+ )