Spaces:
Runtime error
Runtime error
Bhaskar Saranga
commited on
Commit
·
a11d4dc
1
Parent(s):
db8d6af
Fixed copy pase mistake
Browse files
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",
|
178 |
-
v7_out, v7_fps = inference(image, "yolov7",
|
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',
|