offthewallace commited on
Commit
70063f9
·
1 Parent(s): 3ff55ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def yolo(im, size=640):
11
 
12
  results = model(im) # inference
13
  results.render() # updates results.imgs with boxes and labels
14
- return Image.fromarray(results.imgs[0])
15
 
16
  def detect(image):
17
  results = model(image)
 
11
 
12
  results = model(im) # inference
13
  results.render() # updates results.imgs with boxes and labels
14
+ return Image.fromarray(results.ims[0])
15
 
16
  def detect(image):
17
  results = model(image)