Mpavan45 commited on
Commit
f8ea0d3
·
verified ·
1 Parent(s): eed562d

Update pages/1_Hotel_Data.py

Browse files
Files changed (1) hide show
  1. pages/1_Hotel_Data.py +2 -4
pages/1_Hotel_Data.py CHANGED
@@ -43,8 +43,6 @@ df = st.session_state.get("dataset")
43
  if df is not None:
44
  st.subheader("Dataset Preview:")
45
  st.write(df) # Display the first 5 rows
46
-
47
- st.subheader("Info of the Dataset:")
48
  # Redirect the output of df.info() to a string buffer
49
  buffer = StringIO()
50
  df.info(buf=buffer)
@@ -58,7 +56,7 @@ if df is not None:
58
  else:
59
  st.info("No dataset found. Please upload a CSV file.")
60
  # Define the URL of the background image (use your own image URL)
61
- background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/MI0hTKaf1a2EmxUfA6TsV.png"
62
  # Apply custom CSS for the background image and overlay
63
  st.markdown(
64
  f"""
@@ -84,7 +82,7 @@ st.markdown(
84
 
85
  /* Styling the content to ensure text visibility */
86
  .stMarkdown {{
87
- color: white; /* White text to ensure visibility */
88
  font-size: 30px; /* Adjust font size for better readability */
89
  }}
90
  </style>
 
43
  if df is not None:
44
  st.subheader("Dataset Preview:")
45
  st.write(df) # Display the first 5 rows
 
 
46
  # Redirect the output of df.info() to a string buffer
47
  buffer = StringIO()
48
  df.info(buf=buffer)
 
56
  else:
57
  st.info("No dataset found. Please upload a CSV file.")
58
  # Define the URL of the background image (use your own image URL)
59
+ background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/uuRffDOdqb_CQPlKm3_J5.jpeg"
60
  # Apply custom CSS for the background image and overlay
61
  st.markdown(
62
  f"""
 
82
 
83
  /* Styling the content to ensure text visibility */
84
  .stMarkdown {{
85
+ color: black; /* White text to ensure visibility */
86
  font-size: 30px; /* Adjust font size for better readability */
87
  }}
88
  </style>