Update app.py
Browse files
app.py
CHANGED
|
@@ -29,13 +29,13 @@ def download_video(video_url, start_time, end_time):
|
|
| 29 |
iface = gr.Interface(
|
| 30 |
fn=download_video,
|
| 31 |
inputs=[
|
| 32 |
-
gr.
|
| 33 |
-
gr.
|
| 34 |
-
gr.
|
| 35 |
],
|
| 36 |
outputs=[
|
| 37 |
-
gr.
|
| 38 |
-
gr.
|
| 39 |
],
|
| 40 |
title="YouTube Video Downloader",
|
| 41 |
description="Enter YouTube video URL and specify start and end times to download audio as MP3."
|
|
|
|
| 29 |
iface = gr.Interface(
|
| 30 |
fn=download_video,
|
| 31 |
inputs=[
|
| 32 |
+
gr.Textbox(label="YouTube Video URL", placeholder="Enter YouTube video URL here..."),
|
| 33 |
+
gr.Textbox(label="Start Time (HH:MM:SS)", placeholder="00:00:00"),
|
| 34 |
+
gr.Textbox(label="End Time (HH:MM:SS)", placeholder="00:05:00")
|
| 35 |
],
|
| 36 |
outputs=[
|
| 37 |
+
gr.Text(label="Status Message"),
|
| 38 |
+
gr.File(label="Downloaded MP3")
|
| 39 |
],
|
| 40 |
title="YouTube Video Downloader",
|
| 41 |
description="Enter YouTube video URL and specify start and end times to download audio as MP3."
|