pierrequereuil commited on
Commit
b5ea78b
·
verified ·
1 Parent(s): 333e0ab

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -13,8 +13,6 @@ def predict_image(image, conf_threshold, iou_threshold):
13
  im_array = r.plot(labels=True, boxes=True)
14
  yield Image.fromarray(im_array[..., ::-1])
15
 
16
- return image
17
-
18
 
19
  iface = gr.Interface(
20
  fn=predict_image,
 
13
  im_array = r.plot(labels=True, boxes=True)
14
  yield Image.fromarray(im_array[..., ::-1])
15
 
 
 
16
 
17
  iface = gr.Interface(
18
  fn=predict_image,