Spaces:
Sleeping
Sleeping
AndreySokolov01
commited on
Commit
•
20bee2f
1
Parent(s):
c12e3d0
Create app
Browse files
app
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def split_video(input_video, output_folder, start_time, end_time):
|
4 |
+
# Your video splitting logic goes here
|
5 |
+
pass
|
6 |
+
|
7 |
+
iface = gr.Interface(split_video,
|
8 |
+
input_types=[gr.inputs.File(),
|
9 |
+
gr.inputs.Directory(),
|
10 |
+
gr.inputs.Number(),
|
11 |
+
gr.inputs.Number()],
|
12 |
+
output_types=[str],
|
13 |
+
title="Video Splitter")
|
14 |
+
|
15 |
+
iface.launch()
|