Vvaann commited on
Commit
fb13f18
·
verified ·
1 Parent(s): 1b991ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def inference(input_img, conf_threshold, iou_threshold):
13
  model.conf = conf_threshold
14
  model.iou = iou_threshold
15
  # Perform inference
16
- results = model(img_path, size=image_size)
17
 
18
  # Optionally, show detection bounding boxes on image
19
  output = results.render()
 
13
  model.conf = conf_threshold
14
  model.iou = iou_threshold
15
  # Perform inference
16
+ results = model(input_img, size=image_size)
17
 
18
  # Optionally, show detection bounding boxes on image
19
  output = results.render()