delphiclinic commited on
Commit
76caf60
·
verified ·
1 Parent(s): f760cbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def predict (image):
21
  conf = []
22
  for result in results:
23
  im_array = result.plot()
24
- img = Image.fromarray(im_array[..., ::-1]) # RGB PIL image
25
  img.show()
26
  ### Getting the confidence
27
  box = result.boxes
 
21
  conf = []
22
  for result in results:
23
  im_array = result.plot()
24
+ img = Image.fromarray(im_array) # RGB PIL image
25
  img.show()
26
  ### Getting the confidence
27
  box = result.boxes