Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
# Inject custom CSS for background with your image and
|
4 |
st.markdown(
|
5 |
f"""
|
6 |
<style>
|
7 |
-
/* General background with gradient
|
8 |
html, body, [data-testid="stAppViewContainer"] {{
|
9 |
background-image:
|
10 |
linear-gradient(
|
@@ -16,10 +16,11 @@ st.markdown(
|
|
16 |
rgba(240, 248, 255, 0.5), /* Alice Blue */
|
17 |
rgba(173, 216, 230, 0.5) /* Light Blue */
|
18 |
),
|
19 |
-
url("https://huggingface.co/spaces/tahirsher/wellbeing_GenAI/blob/main/1.png")
|
20 |
-
|
21 |
-
background-
|
22 |
-
background-
|
|
|
23 |
font-family: 'Arial', sans-serif;
|
24 |
}}
|
25 |
/* Header slide-right animation */
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
# Inject custom CSS for background with your image, gradient, and floral overlay
|
4 |
st.markdown(
|
5 |
f"""
|
6 |
<style>
|
7 |
+
/* General background with gradient, your image, and floral pattern */
|
8 |
html, body, [data-testid="stAppViewContainer"] {{
|
9 |
background-image:
|
10 |
linear-gradient(
|
|
|
16 |
rgba(240, 248, 255, 0.5), /* Alice Blue */
|
17 |
rgba(173, 216, 230, 0.5) /* Light Blue */
|
18 |
),
|
19 |
+
url("https://huggingface.co/spaces/tahirsher/wellbeing_GenAI/blob/main/1.png"),
|
20 |
+
url("https://www.transparenttextures.com/patterns/flower.png"); /* Floral pattern */
|
21 |
+
background-size: cover, contain, 100px 100px; /* Adjust image sizes */
|
22 |
+
background-blend-mode: overlay, normal;
|
23 |
+
background-position: center, center, center;
|
24 |
font-family: 'Arial', sans-serif;
|
25 |
}}
|
26 |
/* Header slide-right animation */
|