Spaces:
Runtime error
Runtime error
Upload app3.py
Browse files
app3.py
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
st.set_page_config(layout="wide")
|
4 |
+
|
5 |
+
|
6 |
+
video_html = """
|
7 |
+
<style>
|
8 |
+
|
9 |
+
#myVideo {
|
10 |
+
position: fixed;
|
11 |
+
right: 0;
|
12 |
+
bottom: 0;
|
13 |
+
min-width: 100%;
|
14 |
+
min-height: 100%;
|
15 |
+
}
|
16 |
+
|
17 |
+
.content {
|
18 |
+
position: relative; /* Изменено на position: relative; */
|
19 |
+
bottom: 0;
|
20 |
+
background: rgba(0, 0, 0, 0.5);
|
21 |
+
color: #f1f1f1;
|
22 |
+
width: 100%;
|
23 |
+
padding: 20px;
|
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 |
+
st.markdown(video_html, unsafe_allow_html=True)
|
45 |
+
|
46 |
+
col1, col2, col3 = st.columns([3,5,2])
|
47 |
+
|
48 |
+
with col2:
|
49 |
+
st.title('✨Smart Book Search by FindMyBook:✨')
|
50 |
+
|
51 |
+
col1, col2, col3 = st.columns([2,5,2])
|
52 |
+
|
53 |
+
with col2:
|
54 |
+
st.markdown("<div style='text-align: center; font-size: 30px;'>Team members:</div>", unsafe_allow_html=True)
|
55 |
+
st.markdown("<div style='text-align: center; font-size: 25px;'>✨ Maria K. ✨ Ilvir Kh.</div>", unsafe_allow_html=True)
|
56 |
+
st.markdown("<div style='text-align: center; font-size: 25px;'>✨ Viktoria K. ✨ Anna F.</div>", unsafe_allow_html=True)
|
57 |
+
st.markdown("<div style='text-align: center; font-size: 25px;'>✨ Ivan N. </div>", unsafe_allow_html=True)
|
58 |
+
st.markdown("<div style='text-align: center; font-size: 25px;'></div>", unsafe_allow_html=True)
|
59 |
+
st.markdown("<div style='text-align: center; font-size: 25px;'></div>", unsafe_allow_html=True)
|