gkdivya commited on
Commit
42ba962
·
1 Parent(s): 5c54ef7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -24,7 +24,17 @@ def set_bg_from_local_image(local_img_path):
24
  background-attachment: fixed;
25
  background-repeat: no-repeat;
26
  background-position: center center;
27
- opacity: 0.9;
 
 
 
 
 
 
 
 
 
 
28
  }}
29
  </style>
30
  """
 
24
  background-attachment: fixed;
25
  background-repeat: no-repeat;
26
  background-position: center center;
27
+ }}
28
+ .stApp:before {{
29
+ content: '';
30
+ display: block;
31
+ position: absolute;
32
+ top: 0;
33
+ left: 0;
34
+ right: 0;
35
+ bottom: 0;
36
+ background-color: rgba(255, 255, 255, 0.4); /* Adjust the color and opacity here */
37
+ z-index: -1;
38
  }}
39
  </style>
40
  """