AdrielAmoguis commited on
Commit
355835e
·
1 Parent(s): e1c3063

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,8 +21,8 @@ def snap(image, model, conf, iou):
21
  elif model == "S-Raw":
22
  results = s_raw_model(image, conf=conf, iou=iou)
23
 
24
- # Draw the bounding boxes
25
- resulting_image = results.render()
26
 
27
  # Convert the resulting image to a PIL image
28
  resulting_image = Image.fromarray(resulting_image)
 
21
  elif model == "S-Raw":
22
  results = s_raw_model(image, conf=conf, iou=iou)
23
 
24
+ # Convert the results list into an output image
25
+ print(results)
26
 
27
  # Convert the resulting image to a PIL image
28
  resulting_image = Image.fromarray(resulting_image)