Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,10 @@ def split_video(video_file, parts):
|
|
20 |
|
21 |
iface = gr.Interface(
|
22 |
fn=split_video,
|
23 |
-
inputs=[
|
|
|
|
|
|
|
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."
|
|
|
20 |
|
21 |
iface = gr.Interface(
|
22 |
fn=split_video,
|
23 |
+
inputs=[
|
24 |
+
gr.File(label="Upload Video"),
|
25 |
+
gr.Slider(minimum=2, maximum=10, value=2, label="Number of Parts")
|
26 |
+
],
|
27 |
outputs=gr.File(label="Download Split Videos", type="file", multiple=True),
|
28 |
title="Video Splitter",
|
29 |
description="Upload your video and select how many parts you want to split it into."
|