Spaces:
Runtime error
Runtime error
| 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() | |