ccxccc
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -6,17 +6,23 @@ class YouTubeDownloader:
|
|
6 |
def run():
|
7 |
st.title("YouTube Video Downloader")
|
8 |
|
9 |
-
#
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
st.
|
14 |
-
|
15 |
-
|
16 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
-
st.write("")
|
19 |
-
|
20 |
url = st.text_input("Enter YouTube URL to download:")
|
21 |
if url:
|
22 |
YouTubeDownloader.validate_url(url)
|
|
|
6 |
def run():
|
7 |
st.title("YouTube Video Downloader")
|
8 |
|
9 |
+
# Header Layout
|
10 |
+
header_container = st.container()
|
11 |
+
with header_container:
|
12 |
+
st.write("")
|
13 |
+
st.write("## Welcome to our YouTube Downloader")
|
14 |
+
st.write("")
|
15 |
+
st.write("")
|
16 |
+
col1, col2 = st.columns(2)
|
17 |
+
if col1.button("Login", key="login_button"):
|
18 |
+
# Login button functionality
|
19 |
+
st.write("Redirecting to login page...")
|
20 |
+
if col2.button("Sign Up", key="signup_button"):
|
21 |
+
# Sign Up button functionality
|
22 |
+
st.write("Redirecting to sign up page")
|
23 |
+
st.write("")
|
24 |
+
st.write("")
|
25 |
|
|
|
|
|
26 |
url = st.text_input("Enter YouTube URL to download:")
|
27 |
if url:
|
28 |
YouTubeDownloader.validate_url(url)
|