apailang commited on
Commit
c510438
β€’
1 Parent(s): bb8e613

update gradio video432

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(label="In", interactive=True),
138
- outputs=gr.Video(label="Out"),
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