Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
24 |
-
outputs=gr.
|
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 |
)
|