Aalaa commited on
Commit
3cc46c6
·
verified ·
1 Parent(s): 73dd1f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -18,11 +18,11 @@ import gradio as gr
18
 
19
 
20
  def image_fn(
21
- image: gr.inputs.Image = None,
22
- model_path: gr.inputs.Dropdown = None,
23
- image_size: gr.inputs.Slider = 640,
24
- conf_threshold: gr.inputs.Slider = 0.25,
25
- iou_threshold: gr.inputs.Slider = 0.45,
26
  ):
27
  """
28
  YOLOv7 inference function
 
18
 
19
 
20
  def image_fn(
21
+ image: gr.Image = None,
22
+ model_path: gr.Dropdown = None,
23
+ image_size: gr.Slider = 640,
24
+ conf_threshold: gr.Slider = 0.25,
25
+ iou_threshold: gr.Slider = 0.45,
26
  ):
27
  """
28
  YOLOv7 inference function