fcernafukuzaki commited on
Commit
3843550
Β·
verified Β·
1 Parent(s): 93efc0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -102,8 +102,8 @@ def yolo(size, iou, conf, im):
102
 
103
 
104
  in1 = gr.Radio(['640', '1280'], label="TamaΓ±o de la imagen", type='value')
105
- in2 = gr.Slider(minimum=0, maximum=1, step=0.05, default=0.45, label='NMS IoU threshold')
106
- in3 = gr.Slider(minimum=0, maximum=1, step=0.05, default=0.50, label='Umbral o threshold')
107
  in4 = gr.Image(type='pil', label="Original Image")
108
 
109
  out2 = gr.Image(type="pil", label="YOLOv5")
 
102
 
103
 
104
  in1 = gr.Radio(['640', '1280'], label="TamaΓ±o de la imagen", type='value')
105
+ in2 = gr.Slider(minimum=0, maximum=1, step=0.05, label='NMS IoU threshold')
106
+ in3 = gr.Slider(minimum=0, maximum=1, step=0.05, label='Umbral o threshold')
107
  in4 = gr.Image(type='pil', label="Original Image")
108
 
109
  out2 = gr.Image(type="pil", label="YOLOv5")