sahandkh1419 commited on
Commit
725e115
1 Parent(s): 85cc012

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -1
app.py CHANGED
@@ -14,7 +14,6 @@ st.markdown(
14
  background: linear-gradient(to bottom, #0E5AAB, #00ffff);
15
  padding: 20px;
16
  border-radius: 10px;
17
- height: 100vh
18
  }
19
  a {
20
  color: black !important
@@ -24,6 +23,24 @@ st.markdown(
24
  unsafe_allow_html=True
25
  )
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  st.markdown("<h1 style='text-align: center; margin-bottom: 5px;'>Sing It Forward App🎵</h1>", unsafe_allow_html=True)
28
 
29
  description = """
 
14
  background: linear-gradient(to bottom, #0E5AAB, #00ffff);
15
  padding: 20px;
16
  border-radius: 10px;
 
17
  }
18
  a {
19
  color: black !important
 
23
  unsafe_allow_html=True
24
  )
25
 
26
+
27
+ background_image_url = "https://png.pngtree.com/background/20221225/original/pngtree-blue-musical-notes-background-picture-image_1986629.jpg"
28
+ st.markdown(
29
+ f"""
30
+ <style>
31
+ .stApp {{
32
+ background-image: url("{background_image_url}");
33
+ background-size: cover;
34
+ background-position: center;
35
+ background-repeat: no-repeat;
36
+ }}
37
+ </style>
38
+ """,
39
+ unsafe_allow_html=True
40
+ )
41
+
42
+
43
+
44
  st.markdown("<h1 style='text-align: center; margin-bottom: 5px;'>Sing It Forward App🎵</h1>", unsafe_allow_html=True)
45
 
46
  description = """