Upload folder using huggingface_hub
Browse files
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,
|