NKASG commited on
Commit
c1da60c
·
verified ·
1 Parent(s): 3f0d064

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -81,15 +81,16 @@ def show_preds_video(video_path):
81
  lineType=cv2.LINE_AA
82
  )
83
  yield cv2.cvtColor(frame_copy, cv2.COLOR_BGR2RGB)
 
84
 
85
- inputs_video = [
86
  gr.components.Video(type="filepath", label="Input Video"),
87
 
88
  ]
89
- outputs_video = [
90
  gr.components.Image(type="numpy", label="Output Image"),
91
  ]
92
- interface_video = gr.Interface(
93
  fn=show_preds_video,
94
  inputs=inputs_video,
95
  outputs=outputs_video,
 
81
  lineType=cv2.LINE_AA
82
  )
83
  yield cv2.cvtColor(frame_copy, cv2.COLOR_BGR2RGB)
84
+
85
 
86
+ inputs_video = [
87
  gr.components.Video(type="filepath", label="Input Video"),
88
 
89
  ]
90
+ outputs_video = [
91
  gr.components.Image(type="numpy", label="Output Image"),
92
  ]
93
+ interface_video = gr.Interface(
94
  fn=show_preds_video,
95
  inputs=inputs_video,
96
  outputs=outputs_video,