ccxccc
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,16 +5,17 @@ class YouTubeDownloader:
|
|
5 |
@staticmethod
|
6 |
def run():
|
7 |
st.title("YouTube Video Downloader")
|
8 |
-
st.write("")
|
9 |
|
10 |
# Navigation Bar
|
11 |
-
nav_option = st.
|
12 |
if nav_option == "Login":
|
13 |
# Login button functionality
|
14 |
-
st.
|
15 |
elif nav_option == "Sign Up":
|
16 |
# Sign Up button functionality
|
17 |
-
st.
|
|
|
|
|
18 |
|
19 |
url = st.text_input("Enter YouTube URL to download:")
|
20 |
if url:
|
@@ -60,7 +61,7 @@ class YouTubeDownloader:
|
|
60 |
@classmethod
|
61 |
def helper_message(cls):
|
62 |
st.write(
|
63 |
-
"> To save the video to local computer, "
|
64 |
"click the vertical ... icon (aka hamburger button) in the bottom-right corner (in the video above) and click download."
|
65 |
)
|
66 |
|
|
|
5 |
@staticmethod
|
6 |
def run():
|
7 |
st.title("YouTube Video Downloader")
|
|
|
8 |
|
9 |
# Navigation Bar
|
10 |
+
nav_option = st.radio("Navigation", ["Login", "Sign Up"])
|
11 |
if nav_option == "Login":
|
12 |
# Login button functionality
|
13 |
+
st.button("Login")
|
14 |
elif nav_option == "Sign Up":
|
15 |
# Sign Up button functionality
|
16 |
+
st.button("Sign Up")
|
17 |
+
|
18 |
+
st.write("")
|
19 |
|
20 |
url = st.text_input("Enter YouTube URL to download:")
|
21 |
if url:
|
|
|
61 |
@classmethod
|
62 |
def helper_message(cls):
|
63 |
st.write(
|
64 |
+
"> To save the video to the local computer, "
|
65 |
"click the vertical ... icon (aka hamburger button) in the bottom-right corner (in the video above) and click download."
|
66 |
)
|
67 |
|