tahirsher commited on
Commit
aa6aa67
·
verified ·
1 Parent(s): d9181ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -1,10 +1,10 @@
1
  import streamlit as st
2
 
3
- # Inject custom CSS for background with your image and gradient
4
  st.markdown(
5
  f"""
6
  <style>
7
- /* General background with gradient and your image overlay */
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
- background-size: cover;
21
- background-blend-mode: overlay;
22
- background-position: center;
 
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 */