Geek7 commited on
Commit
c5a4118
·
1 Parent(s): 32f0ac0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
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: