File size: 280 Bytes
43c8d64
 
 
 
 
65e2788
43c8d64
 
 
1
2
3
4
5
6
7
8
9
10
import gradio as gr
from app_helper import detect_objects


# Create interface

input_video = gr.Video(sources='upload', label="Upload a video file")
output_video = gr.Video(label="Detected Objects")
gr.Interface(detect_objects, inputs=input_video, outputs=output_video).launch()