Update app.py
Browse files
app.py
CHANGED
@@ -250,5 +250,6 @@ def inference(img):
|
|
250 |
|
251 |
title="YOLOv4"
|
252 |
description="YOLOv4 optimizes the speed and accuracy of object detection. It is two times faster than EfficientDet. It improves YOLOv3's AP and FPS by 10% and 12%, respectively, with mAP50 of 52.32 on the COCO 2017 dataset and FPS of 41.7 on Tesla 100."
|
253 |
-
|
|
|
254 |
|
|
|
250 |
|
251 |
title="YOLOv4"
|
252 |
description="YOLOv4 optimizes the speed and accuracy of object detection. It is two times faster than EfficientDet. It improves YOLOv3's AP and FPS by 10% and 12%, respectively, with mAP50 of 52.32 on the COCO 2017 dataset and FPS of 41.7 on Tesla 100."
|
253 |
+
examples=[["example.png"]]
|
254 |
+
gr.Interface(inference,gr.inputs.Image(type="filepath"),gr.outputs.Image(type="pil"),title=title,description=description,examples=examples).launch()
|
255 |
|