Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,25 +1,24 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
custom_css = """
|
| 5 |
<style>
|
| 6 |
[data-testid="stAppViewContainer"] > .main {{
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
}}
|
| 13 |
[data-testid="stHeader"] {{
|
| 14 |
-
|
| 15 |
}}
|
| 16 |
.stTitle {{
|
| 17 |
-
|
| 18 |
-
|
| 19 |
}}
|
| 20 |
.stSubheader {{
|
| 21 |
-
|
| 22 |
-
|
| 23 |
}}
|
| 24 |
.link-icon {{
|
| 25 |
display: flex;
|
|
@@ -40,7 +39,7 @@ custom_css = """
|
|
| 40 |
</style>
|
| 41 |
"""
|
| 42 |
|
| 43 |
-
st.markdown(
|
| 44 |
|
| 45 |
audioldm_exmples_input_paths = []
|
| 46 |
audioldm_exmples_original_paths = []
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
page_bg_img = f"""
|
|
|
|
| 4 |
<style>
|
| 5 |
[data-testid="stAppViewContainer"] > .main {{
|
| 6 |
+
background-image: url("https://i.postimg.cc/4xgNnkfX/Untitled-design.png");
|
| 7 |
+
background-size: cover;
|
| 8 |
+
background-position: center center;
|
| 9 |
+
background-repeat: no-repeat;
|
| 10 |
+
background-attachment: local;
|
| 11 |
}}
|
| 12 |
[data-testid="stHeader"] {{
|
| 13 |
+
background: rgba(0,0,0,0);
|
| 14 |
}}
|
| 15 |
.stTitle {{
|
| 16 |
+
color: #ffffff;
|
| 17 |
+
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
| 18 |
}}
|
| 19 |
.stSubheader {{
|
| 20 |
+
color: #ffffff;
|
| 21 |
+
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
|
| 22 |
}}
|
| 23 |
.link-icon {{
|
| 24 |
display: flex;
|
|
|
|
| 39 |
</style>
|
| 40 |
"""
|
| 41 |
|
| 42 |
+
st.markdown(page_bg_img, unsafe_allow_html=True)
|
| 43 |
|
| 44 |
audioldm_exmples_input_paths = []
|
| 45 |
audioldm_exmples_original_paths = []
|