Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
| 143 |
-
outputs=gr.
|
| 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"
|