Lamara091 commited on
Commit
818508c
·
verified ·
1 Parent(s): 78d7e34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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.inputs.Textbox(label="YouTube Video URL", placeholder="Enter YouTube video URL here..."),
33
- gr.inputs.Textbox(label="Start Time (HH:MM:SS)", placeholder="00:00:00"),
34
- gr.inputs.Textbox(label="End Time (HH:MM:SS)", placeholder="00:05:00")
35
  ],
36
  outputs=[
37
- gr.outputs.Textbox(label="Status Message"),
38
- gr.outputs.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."
 
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."