Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,31 @@ st.markdown("""
|
|
| 22 |
.sidebar .stSelectbox { margin-bottom: 15px; }
|
| 23 |
</style>
|
| 24 |
""", unsafe_allow_html=True)
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
# Header
|
| 27 |
with st.container():
|
| 28 |
st.markdown('<div class="header">', unsafe_allow_html=True)
|
|
|
|
| 22 |
.sidebar .stSelectbox { margin-bottom: 15px; }
|
| 23 |
</style>
|
| 24 |
""", unsafe_allow_html=True)
|
| 25 |
+
st.markdown(
|
| 26 |
+
"""
|
| 27 |
+
<style>
|
| 28 |
+
.stApp {
|
| 29 |
+
background-image: url("https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/_YKXYHCbjM44ubGwnAKeQ.jpeg");
|
| 30 |
+
background-size: cover;
|
| 31 |
+
background-position: center;
|
| 32 |
+
height: 100vh;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
/* Semi-transparent overlay */
|
| 36 |
+
.stApp::before {
|
| 37 |
+
content: "";
|
| 38 |
+
position: absolute;
|
| 39 |
+
top: 0;
|
| 40 |
+
left: 0;
|
| 41 |
+
width: 100%;
|
| 42 |
+
height: 100%;
|
| 43 |
+
background: rgba(0, 0, 0, 0.4); /* 40% transparency */
|
| 44 |
+
z-index: -1;
|
| 45 |
+
}
|
| 46 |
+
</style>
|
| 47 |
+
""",
|
| 48 |
+
unsafe_allow_html=True
|
| 49 |
+
)
|
| 50 |
# Header
|
| 51 |
with st.container():
|
| 52 |
st.markdown('<div class="header">', unsafe_allow_html=True)
|