mussie1212 commited on
Commit
62fd936
·
verified ·
1 Parent(s): f440206

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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,detected_result
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(