modify app.py to recorrect error
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def yolov10_inference(image, video, image_size, conf_threshold, iou_threshold):
|
|
59 |
|
60 |
def yolov10_inference_for_examples(image, image_size, conf_threshold, iou_threshold):
|
61 |
annotated_image, _, output_class, output_name = yolov10_inference(image, None, image_size, conf_threshold, iou_threshold)
|
62 |
-
return annotated_image
|
63 |
|
64 |
def app():
|
65 |
with gr.Blocks():
|
|
|
59 |
|
60 |
def yolov10_inference_for_examples(image, image_size, conf_threshold, iou_threshold):
|
61 |
annotated_image, _, output_class, output_name = yolov10_inference(image, None, image_size, conf_threshold, iou_threshold)
|
62 |
+
return annotated_image#, None, output_class, output_name
|
63 |
|
64 |
def app():
|
65 |
with gr.Blocks():
|