Geek7 commited on
Commit
235629a
·
1 Parent(s): c2444c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -11
app.py CHANGED
@@ -1,16 +1,10 @@
1
  import streamlit as st
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
-
9
- }@keyframes rotate {
10
- 100%{
11
- filter: hue-rotate(-360deg)
12
- }
13
- }</style><div class="m"></div>")
14
 
15
 
16
  # Load Animation
 
1
  import streamlit as st
2
  from pytube import YouTube
3
+
4
+ with open('style.css') as f:
5
+ st.markdown(f'<style>{f.read()}</style>',unsafe_allow_html=True)
6
+
7
+
 
 
 
 
 
 
8
 
9
 
10
  # Load Animation