fcernafukuzaki commited on
Commit
0cfc9ed
1 Parent(s): e112ef8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -101,14 +101,14 @@ def yolo(size, iou, conf, im):
101
 
102
 
103
 
104
- in1 = gr.inputs.Radio(['640', '1280'], label="Tama帽o de la imagen", default='640', type='value')
105
- in2 = gr.inputs.Slider(minimum=0, maximum=1, step=0.05, default=0.45, label='NMS IoU threshold')
106
- in3 = gr.inputs.Slider(minimum=0, maximum=1, step=0.05, default=0.50, label='Umbral o threshold')
107
- in4 = gr.inputs.Image(type='pil', label="Original Image")
108
-
109
- out2 = gr.outputs.Image(type="pil", label="YOLOv5")
110
- out3 = gr.outputs.Dataframe(label="Cantidad_especie", headers=['Cantidad','Especie'], type="pandas")
111
- out4 = gr.outputs.JSON(label="JSON")
112
  #-------------- Text-----
113
  title = 'Trampas Barcel贸'
114
  description = """
 
101
 
102
 
103
 
104
+ in1 = gr.Radio(['640', '1280'], label="Tama帽o de la imagen", default='640', 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")
110
+ out3 = gr.Dataframe(label="Cantidad_especie", headers=['Cantidad','Especie'], type="pandas")
111
+ out4 = gr.JSON(label="JSON")
112
  #-------------- Text-----
113
  title = 'Trampas Barcel贸'
114
  description = """