AndreySokolov01 commited on
Commit
c03702b
·
verified ·
1 Parent(s): f668d1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ def split_video(video_file, parts):
20
 
21
  iface = gr.Interface(
22
  fn=split_video,
23
- inputs=[gr.inputs.File(type="file", label="Upload Video"), gr.inputs.Slider(minimum=2, maximum=10, default=2, label="Number of Parts")],
24
- outputs=gr.outputs.Files(label="Download Split Videos"),
25
  title="Video Splitter",
26
  description="Upload your video and select how many parts you want to split it into."
27
  )
 
20
 
21
  iface = gr.Interface(
22
  fn=split_video,
23
+ inputs=[gr.File(label="Upload Video"), gr.Slider(minimum=2, maximum=10, default=2, label="Number of Parts")],
24
+ outputs=gr.File(label="Download Split Videos", type="file", multiple=True),
25
  title="Video Splitter",
26
  description="Upload your video and select how many parts you want to split it into."
27
  )