Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,9 +27,9 @@ def predict_image(img, conf_threshold, iou_threshold):
|
|
27 |
im_array = r.plot()
|
28 |
im = Image.fromarray(im_array[..., ::-1])
|
29 |
|
30 |
-
detected_result = {"results":results}
|
31 |
|
32 |
-
return im,
|
33 |
|
34 |
|
35 |
iface = gr.Interface(
|
|
|
27 |
im_array = r.plot()
|
28 |
im = Image.fromarray(im_array[..., ::-1])
|
29 |
|
30 |
+
# detected_result = {"results":results}
|
31 |
|
32 |
+
return im,results
|
33 |
|
34 |
|
35 |
iface = gr.Interface(
|