Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,11 +44,11 @@ with gr.Blocks() as demo:
|
|
44 |
url_input = gr.Textbox(label="YouTube URL")
|
45 |
with gr.Row():
|
46 |
download_video_checkbox = gr.Checkbox(label="Download Video", value=False)
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
|
53 |
def handle_download(url, download_video):
|
54 |
output_file = download_media(url, download_video)
|
|
|
44 |
url_input = gr.Textbox(label="YouTube URL")
|
45 |
with gr.Row():
|
46 |
download_video_checkbox = gr.Checkbox(label="Download Video", value=False)
|
47 |
+
with gr.Row():
|
48 |
+
download_button = gr.Button("Download")
|
49 |
+
with gr.Row():
|
50 |
+
output_audio = gr.Audio(label="Downloaded Media", visible=False)
|
51 |
+
output_file = gr.File(label="Downloaded Media", visible=False)
|
52 |
|
53 |
def handle_download(url, download_video):
|
54 |
output_file = download_media(url, download_video)
|