Update app.py
Browse files
app.py
CHANGED
@@ -43,12 +43,12 @@ def download_videos(data):
|
|
43 |
|
44 |
interface = gr.Interface(
|
45 |
fn=download_videos,
|
46 |
-
inputs=gr.
|
47 |
-
gr.
|
48 |
-
gr.
|
49 |
-
gr.
|
50 |
]),
|
51 |
-
outputs=gr.
|
52 |
title="Batch YouTube Video Downloader",
|
53 |
description="Add multiple entries to download specific clips from YouTube videos as MP3."
|
54 |
)
|
|
|
43 |
|
44 |
interface = gr.Interface(
|
45 |
fn=download_videos,
|
46 |
+
inputs=gr.DynamicList([
|
47 |
+
gr.Textbox(label="YouTube Video URL", placeholder="Enter YouTube video URL here..."),
|
48 |
+
gr.Textbox(label="Start Time (HH:MM:SS)", placeholder="00:00:00"),
|
49 |
+
gr.Textbox(label="End Time (HH:MM:SS)", placeholder="00:05:00")
|
50 |
]),
|
51 |
+
outputs=gr.File(label="Downloaded MP3 Files"),
|
52 |
title="Batch YouTube Video Downloader",
|
53 |
description="Add multiple entries to download specific clips from YouTube videos as MP3."
|
54 |
)
|