Geek7 commited on
Commit
7b78914
·
1 Parent(s): 319dbac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -19
app.py CHANGED
@@ -2,25 +2,15 @@ import streamlit as st
2
  from pytube import YouTube
3
 
4
 
5
- def set_bg_hack_url():
6
- '''
7
- A function to unpack an image from url and set as bg.
8
- Returns
9
- -------
10
- The background.
11
- '''
12
-
13
- st.markdown(
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