vumichien commited on
Commit
5a887dc
·
1 Parent(s): e8353c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -6,11 +6,11 @@ from ultralyticsplus import YOLO
6
 
7
 
8
  def yolov8_inference(
9
- image: gr.inputs.Image = None,
10
- model_path: gr.inputs.Dropdown = None,
11
- image_size: gr.inputs.Slider = 640,
12
- conf_threshold: gr.inputs.Slider = 0.25,
13
- iou_threshold: gr.inputs.Slider = 0.45,
14
  ):
15
  """
16
  YOLOv8 inference function
 
6
 
7
 
8
  def yolov8_inference(
9
+ image,
10
+ model_path,
11
+ image_size,
12
+ conf_threshold,
13
+ iou_threshold,
14
  ):
15
  """
16
  YOLOv8 inference function