Spaces:
Sleeping
Sleeping
update gradio video432
Browse files
app.py
CHANGED
@@ -134,8 +134,8 @@ detection_model = load_model()
|
|
134 |
# Second interface for video prediction
|
135 |
video_interface = gr.Interface(
|
136 |
fn=detect_video,
|
137 |
-
inputs=gr.Video(
|
138 |
-
outputs=gr.Video(
|
139 |
title="Video Prediction Interface",
|
140 |
description="Upload a video for prediction",
|
141 |
live=True
|
|
|
134 |
# Second interface for video prediction
|
135 |
video_interface = gr.Interface(
|
136 |
fn=detect_video,
|
137 |
+
inputs=gr.Video(interactive=True),
|
138 |
+
outputs=gr.Video(),
|
139 |
title="Video Prediction Interface",
|
140 |
description="Upload a video for prediction",
|
141 |
live=True
|