Ninad077 commited on
Commit
14b2dbc
·
verified ·
1 Parent(s): d3047dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -15
app.py CHANGED
@@ -146,23 +146,23 @@ def main():
146
  image_path = "Designer (1).png"
147
  base64_image = get_base64_image(image_path)
148
 
149
- # Define the CSS for setting the background image
150
- background_image_css = f"""
151
- <style>
152
- .stApp {{
153
- background-image: url(data:image/png;base64,{base64_image});
154
- background-size: cover;
155
- background-repeat: no-repeat;
156
- background-attachment: fixed;
157
- background-position: center;
158
- height: 700vh; /* Make sure the background covers the full viewport height */
159
 
160
- }}
161
- </style>
162
- """
163
 
164
- # Apply the CSS to the Streamlit app
165
- st.markdown(background_image_css, unsafe_allow_html=True)
166
 
167
 
168
 
 
146
  image_path = "Designer (1).png"
147
  base64_image = get_base64_image(image_path)
148
 
149
+ # # Define the CSS for setting the background image
150
+ # background_image_css = f"""
151
+ # <style>
152
+ # .stApp {{
153
+ # background-image: url(data:image/png;base64,{base64_image});
154
+ # background-size: cover;
155
+ # background-repeat: no-repeat;
156
+ # background-attachment: fixed;
157
+ # background-position: center;
158
+ # height: 700vh; /* Make sure the background covers the full viewport height */
159
 
160
+ # }}
161
+ # </style>
162
+ # """
163
 
164
+ # # Apply the CSS to the Streamlit app
165
+ # st.markdown(background_image_css, unsafe_allow_html=True)
166
 
167
 
168