Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,15 +8,32 @@ def load_lottieurl(url: str):
|
|
8 |
return None
|
9 |
return r.json()
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
lottie_data_analysis = load_lottieurl("https://assets2.lottiefiles.com/packages/lf20_4kx2q32n.json")
|
12 |
|
13 |
-
st.markdown("<h1 style='text-align:
|
14 |
|
15 |
st_lottie(lottie_data_analysis, height=150, key="data_analysis")
|
16 |
|
17 |
|
18 |
|
19 |
-
st.markdown("<h2 style='text-align:
|
20 |
|
21 |
|
22 |
# About the app section
|
|
|
8 |
return None
|
9 |
return r.json()
|
10 |
|
11 |
+
st.markdown("""
|
12 |
+
<style>
|
13 |
+
.main {
|
14 |
+
background: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
|
15 |
+
background-size: cover;
|
16 |
+
background-attachment: fixed;
|
17 |
+
color: white;
|
18 |
+
}
|
19 |
+
.sidebar .sidebar-content {
|
20 |
+
background-color: rgba(255, 255, 255, 0.8);
|
21 |
+
}
|
22 |
+
h1, h2, h3, h4, h5, h6 {
|
23 |
+
color: ;
|
24 |
+
}
|
25 |
+
</style>
|
26 |
+
""", unsafe_allow_html=True)
|
27 |
+
|
28 |
lottie_data_analysis = load_lottieurl("https://assets2.lottiefiles.com/packages/lf20_4kx2q32n.json")
|
29 |
|
30 |
+
st.markdown("<h1 style='text-align:center; color: black;'>Data Analysis With Python 🕵</h1>", unsafe_allow_html=True)
|
31 |
|
32 |
st_lottie(lottie_data_analysis, height=150, key="data_analysis")
|
33 |
|
34 |
|
35 |
|
36 |
+
st.markdown("<h2 style='text-align:left; color: black;'>About the web app </h2>", unsafe_allow_html=True)
|
37 |
|
38 |
|
39 |
# About the app section
|