itachi-ai's picture
Update app.py
65e2788 verified
raw
history blame contribute delete
280 Bytes
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()