Update app.py
Browse files
app.py
CHANGED
@@ -2,25 +2,15 @@ import streamlit as st
|
|
2 |
from pytube import YouTube
|
3 |
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
f"""
|
15 |
-
<style>
|
16 |
-
.stApp {{
|
17 |
-
background: url("https://cdn.pixabay.com/photo/2020/06/19/22/33/wormhole-5319067_960_720.jpg");
|
18 |
-
background-size: cover
|
19 |
-
}}
|
20 |
-
</style>
|
21 |
-
""",
|
22 |
-
unsafe_allow_html=True
|
23 |
-
)
|
24 |
|
25 |
class YouTubeDownloader:
|
26 |
@staticmethod
|
|
|
2 |
from pytube import YouTube
|
3 |
|
4 |
|
5 |
+
hide_streamlit_style = """
|
6 |
+
<style>
|
7 |
+
#MainMenu {visibility: hidden;}
|
8 |
+
footer {visibility: hidden;}
|
9 |
+
background-image:url("colors-pattern.gif")
|
10 |
+
</style>
|
11 |
+
"""
|
12 |
+
|
13 |
+
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
class YouTubeDownloader:
|
16 |
@staticmethod
|