Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -2,46 +2,41 @@ import streamlit as st
|
|
2 |
|
3 |
st.set_page_config(layout="wide")
|
4 |
|
|
|
|
|
|
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
}
|
25 |
-
|
26 |
-
[data-testid="stToolbar"] {
|
27 |
-
right: 2rem;
|
28 |
-
}
|
29 |
-
|
30 |
-
div.css-d6uc01.e1tzin5v0 {
|
31 |
-
background-color: rgba(238, 238, 238, 0.5);
|
32 |
-
border: 10px solid #EEEEEE;
|
33 |
-
padding: 5% 5% 5% 10%;
|
34 |
-
border-radius: 5px;
|
35 |
-
}
|
36 |
-
|
37 |
-
</style>
|
38 |
-
<video autoplay muted loop id="myVideo">
|
39 |
-
<source src="https://rr3---sn-4g5lzned.googlevideo.com/videoplayback?expire=1686318246&ei=RtiCZL_LJ4qG0wWi-q2ABA&ip=105.159.16.112&id=o-AOAJbt9ylfg3BWZMsdKZubNSgPb7FKnzHtOhyHUBaNB9&itag=399&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&spc=qEK7B-DlqiFC8w9A0_wZEAuy2VNoH8aQQF7PvS46Jg&vprv=1&svpuc=1&mime=video%2Fmp4&ns=0bV_xi2-grokuOrfW7HWhzEN&gir=yes&clen=198203522&dur=3609.999&lmt=1630799721330343&keepalive=yes&fexp=24007246,24350018,24363392&beids=24350018&c=WEB&txp=5432434&n=SIN0JNcBsnwkbA&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhANf3DgikAf72wBllOTCcdmhQwcGtQI7r5TZ3aj6uRu-yAiAetPGm-qTFuutDzSIT5XwX1IZV-hLf6C1mdw0PC8Yc9A%3D%3D&rm=sn-p5h-uobe7s,sn-p5h-gc5d7e&req_id=60bdf2eae0aea3ee&ipbypass=yes&cmsv=e&redirect_counter=3&cm2rm=sn-apne7s&cms_redirect=yes&mh=D8&mip=5.228.41.215&mm=34&mn=sn-4g5lzned&ms=ltu&mt=1686314208&mv=m&mvi=3&pl=21&lsparams=ipbypass,mh,mip,mm,mn,ms,mv,mvi,pl&lsig=AG3C_xAwRgIhAIwP6FZ6VyynM24jsT22ljrn1aIvmgSfGFWxV0UOZU9EAiEAl6i6I3G8_sSUKCVxSnX_-wnI0keUtlKLaxDE-l2es54%3D")>
|
40 |
-
Your browser does not support HTML5 video.
|
41 |
-
</video>
|
42 |
-
"""
|
43 |
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
col1, col2, col3 = st.columns([3,5,2])
|
47 |
|
|
|
2 |
|
3 |
st.set_page_config(layout="wide")
|
4 |
|
5 |
+
import base64
|
6 |
+
import streamlit as st
|
7 |
+
import plotly.express as px
|
8 |
|
9 |
+
page_bg_img = f"""
|
10 |
+
<style>
|
11 |
+
[data-testid="stAppViewContainer"] > .main {{
|
12 |
+
background-image: url("https://i.ibb.co/0m0ZYt6/books-assortment-with-dark-background.jpg");
|
13 |
+
background-size: 130%;
|
14 |
+
background-position: top left;
|
15 |
+
background-repeat: no-repeat;
|
16 |
+
background-attachment: local;
|
17 |
+
}}
|
18 |
+
|
19 |
+
|
20 |
+
[data-testid="stHeader"] {{
|
21 |
+
background: rgba(1,1,1,1);
|
22 |
+
}}
|
23 |
+
|
24 |
+
[data-testid="stToolbar"] {{
|
25 |
+
right: 2rem;
|
26 |
+
}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
+
div.css-1n76uvr.esravye0 {{
|
29 |
+
background-color: rgba(238, 238, 238, 0.5);
|
30 |
+
border: 10px solid #EEEEEE;
|
31 |
+
padding: 5% 5% 5% 10%;
|
32 |
+
border-radius: 5px;
|
33 |
+
}}
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
</style>
|
38 |
+
"""
|
39 |
+
st.markdown(page_bg_img, unsafe_allow_html=True)
|
40 |
|
41 |
col1, col2, col3 = st.columns([3,5,2])
|
42 |
|