Parthebhan commited on
Commit
5d7a51d
·
verified ·
1 Parent(s): e6c16b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -38,13 +38,15 @@ def yolov9_inference(img_path, model_id, image_size, conf_threshold, iou_thresho
38
  model.iou = iou_threshold
39
 
40
  # Perform inference
41
- results = model(img_path, size=image_size)
42
 
43
  # Optionally, show detection bounding boxes on image
44
  output = results.render()
45
 
46
  return output[0]
47
 
 
 
48
 
49
  def app():
50
  with gr.Blocks():
 
38
  model.iou = iou_threshold
39
 
40
  # Perform inference
41
+ results = model(img_path)
42
 
43
  # Optionally, show detection bounding boxes on image
44
  output = results.render()
45
 
46
  return output[0]
47
 
48
+
49
+
50
 
51
  def app():
52
  with gr.Blocks():