Update app.py
Browse files
app.py
CHANGED
@@ -1,22 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from pytube import YouTube
|
3 |
|
4 |
-
hide_streamlit_style = """
|
5 |
-
<style>
|
6 |
-
#MainMenu {visibility: hidden;}
|
7 |
-
footer {visibility: hidden;}
|
8 |
-
[data-testid="stAppViewContainer"]{
|
9 |
-
background-image: linear-gradient(115deg,#FFAF00,#FFC500,#FFD600,#FCED00,#F9F380,#F6F7CD);
|
10 |
-
animation: rotate 4s linear infinite;
|
11 |
-
@-webkit-keyframes rotate {
|
12 |
-
100%{
|
13 |
-
filter: hue-rotate(-360deg)
|
14 |
-
}
|
15 |
-
}
|
16 |
-
}
|
17 |
|
18 |
-
</style>
|
19 |
-
"""
|
20 |
with open('./bg.css') as f:
|
21 |
css = f.read()
|
22 |
st.markdown(f'<style>{css}</style>',hide_streamlit_style, unsafe_allow_html=True)
|
|
|
1 |
import streamlit as st
|
2 |
from pytube import YouTube
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
5 |
with open('./bg.css') as f:
|
6 |
css = f.read()
|
7 |
st.markdown(f'<style>{css}</style>',hide_streamlit_style, unsafe_allow_html=True)
|