1ngsm0del commited on
Commit
d16ee9e
·
1 Parent(s): 27d707b

modify app.py to recorrect error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, None, output_class, output_name
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():