Geek7 commited on
Commit
8f0a002
·
1 Parent(s): e1a4740

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -19
app.py CHANGED
@@ -1,25 +1,8 @@
1
  import streamlit as st
2
  from pytube import YouTube
3
 
4
-
5
- hide_streamlit_style = """
6
- <style>
7
- #MainMenu {visibility: hidden;}
8
- footer {visibility: hidden;}
9
- [data-testid="stAppViewContainer"]{
10
- background: linear-gradient(115deg,#4fcf70,#fad648,#a767e5,#12bcfe,#44ce7b);
11
- animation: rotate 1.5s linear infinite;
12
- }
13
- background-image:url("./colors-pattern.gif")
14
- @keyframes rotate {
15
- 100%{
16
- filter: hue-rotate(-360deg)
17
- }
18
- }
19
- </style>
20
- """
21
-
22
- st.markdown(hide_streamlit_style, unsafe_allow_html=True)
23
 
24
  class YouTubeDownloader:
25
  @staticmethod
 
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
  class YouTubeDownloader:
8
  @staticmethod