Mummia-99 commited on
Commit
3bd361b
·
verified ·
1 Parent(s): ea450b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -10
app.py CHANGED
@@ -8,19 +8,21 @@ html_temp = """
8
  """
9
  st.markdown(html_temp, unsafe_allow_html=True)
10
 
11
- st.markdown(
12
- """
 
 
13
  <style>
14
  .stApp {{
15
- background-image: url("https://admin-bg.investkraft.com/public/images/1729840413.difference-between-nbfc-and-bank.webp");
16
- background-size: cover;
17
- background-position: center;
18
- background-attachment: fixed;
19
- background-repeat: no-repeat;
20
- background-color: {page_bg_color};
21
-         }}
22
  </style>
23
- """, unsafe_allow_html=True)
 
24
  st.write("Enter the customer details:")
25
 
26
  # model
 
8
  """
9
  st.markdown(html_temp, unsafe_allow_html=True)
10
 
11
+ bg_image_url = "https://images.unsplash.com/photo-1517817748499-8fbbd61a2f92" # Replace with your image URL
12
+
13
+ # Inject CSS with background image
14
+ st.markdown(f"""
15
  <style>
16
  .stApp {{
17
+ background-image: url("{bg_image_url}");
18
+ background-size: cover;
19
+ background-position: center;
20
+ background-repeat: no-repeat;
21
+ background-attachment: fixed;
22
+ }}
 
23
  </style>
24
+ """, unsafe_allow_html=True)
25
+
26
  st.write("Enter the customer details:")
27
 
28
  # model