YEHTUT commited on
Commit
075a84b
1 Parent(s): e89b7ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -139,8 +139,8 @@ Image_tab = gr.Interface(fn=predict,
139
  description="Using ssd_mobilenet_v2_320x320_coco17_tpu-8 to detect Durina and Pineapple"
140
  )
141
  Video_tab = gr.Interface(fn=predict_video,
142
- inputs=gr.File(label="Upload Video"),
143
- outputs=gr.File(label="Detected Video"),
144
  #examples=[["SampleVideo1.mp4"],["SampleVideo2.mp4"]],
145
  title="This is the object detection model for Durian and Pineapple videos",
146
  description="Using ssd_mobilenet_v2_320x320_coco17_tpu-8 to detect Durina and Pineapple"
 
139
  description="Using ssd_mobilenet_v2_320x320_coco17_tpu-8 to detect Durina and Pineapple"
140
  )
141
  Video_tab = gr.Interface(fn=predict_video,
142
+ inputs=gr.Video(label="Upload Video"),
143
+ outputs=gr.Video(label="Detected Video"),
144
  #examples=[["SampleVideo1.mp4"],["SampleVideo2.mp4"]],
145
  title="This is the object detection model for Durian and Pineapple videos",
146
  description="Using ssd_mobilenet_v2_320x320_coco17_tpu-8 to detect Durina and Pineapple"