Bhaskar Saranga commited on
Commit
a11d4dc
1 Parent(s): db8d6af

Fixed copy pase mistake

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -174,8 +174,8 @@ def inference2(video,model_link,iou_threshold,confidence_threshold):
174
  return 'output.mp4',np.mean(fps_video)
175
 
176
  def inference_comp(image,iou_threshold,confidence_threshold):
177
- v8_out, v8_fps = inference(image, "yolov8m",image_comp_iou_threshold,image_comp_conf_threshold)
178
- v7_out, v7_fps = inference(image, "yolov7",image_comp_iou_threshold,image_comp_conf_threshold)
179
  return v7_out,v8_out,v7_fps,v8_fps
180
 
181
  examples_images = ['data/images/1.jpg',
 
174
  return 'output.mp4',np.mean(fps_video)
175
 
176
  def inference_comp(image,iou_threshold,confidence_threshold):
177
+ v8_out, v8_fps = inference(image, "yolov8m",iou_threshold,confidence_threshold)
178
+ v7_out, v7_fps = inference(image, "yolov7",iou_threshold,confidence_threshold)
179
  return v7_out,v8_out,v7_fps,v8_fps
180
 
181
  examples_images = ['data/images/1.jpg',