akhaliq HF Staff commited on
Commit
de3e192
·
1 Parent(s): 712cc3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -247,6 +247,8 @@ def inference(img):
247
 
248
  image = Image.fromarray(image)
249
  return image
250
-
251
- gr.Interface(inference,gr.inputs.Image(type="filepath"),gr.outputs.Image(type="pil")).launch()
 
 
252
 
 
247
 
248
  image = Image.fromarray(image)
249
  return image
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
+ gr.Interface(inference,gr.inputs.Image(type="filepath"),gr.outputs.Image(type="pil"),title=title,description=description).launch()
254