Geek7 commited on
Commit
c2444c8
·
1 Parent(s): 3836ea9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ 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
 
@@ -10,7 +10,7 @@ background-image: linear-gradient(115deg,#FFAF00,#FFC500,#FFD600,#FCED00,#F9F380
10
  100%{
11
  filter: hue-rotate(-360deg)
12
  }
13
- }</style><div class="m"></div></body></html>")
14
 
15
 
16
  # Load Animation
 
2
  from pytube import YouTube
3
  import streamlit.components.v1 as components
4
 
5
+ components.html("<style>.m{
6
  background-image: linear-gradient(115deg,#FFAF00,#FFC500,#FFD600,#FCED00,#F9F380,#F6F7CD);
7
  animation: rotate 7s linear infinite;
8
 
 
10
  100%{
11
  filter: hue-rotate(-360deg)
12
  }
13
+ }</style><div class="m"></div>")
14
 
15
 
16
  # Load Animation