Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,16 @@
|
|
1 |
import streamlit as st
|
2 |
from pytube import YouTube
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
def local_css(file_name):
|
6 |
with open(file_name) as f:
|
|
|
1 |
import streamlit as st
|
2 |
from pytube import YouTube
|
3 |
+
import streamlit.components.v1 as components
|
4 |
+
|
5 |
+
components.html("<html><body><style>.m{
|
6 |
+
background-image: linear-gradient(115deg,#FFAF00,#FFC500,#FFD600,#FCED00,#F9F380,#F6F7CD);
|
7 |
+
animation: rotate 7s linear infinite;
|
8 |
+
|
9 |
+
}@keyframes rotate {
|
10 |
+
100%{
|
11 |
+
filter: hue-rotate(-360deg)
|
12 |
+
}
|
13 |
+
}</style><div class="m"></div></body></html>", width=200, height=200)
|
14 |
|
15 |
def local_css(file_name):
|
16 |
with open(file_name) as f:
|