Lamara091 commited on
Commit
800c436
·
verified ·
1 Parent(s): 7f5c593

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -43,12 +43,12 @@ def download_videos(data):
43
 
44
  interface = gr.Interface(
45
  fn=download_videos,
46
- inputs=gr.inputs.DynamicList([
47
- gr.inputs.Textbox(label="YouTube Video URL", placeholder="Enter YouTube video URL here..."),
48
- gr.inputs.Textbox(label="Start Time (HH:MM:SS)", placeholder="00:00:00"),
49
- gr.inputs.Textbox(label="End Time (HH:MM:SS)", placeholder="00:05:00")
50
  ]),
51
- outputs=gr.outputs.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
  )
 
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
  )