Spaces:
Running
Running
Commit
路
0cfc9ed
1
Parent(s):
e112ef8
Update app.py
Browse files
app.py
CHANGED
@@ -101,14 +101,14 @@ def yolo(size, iou, conf, im):
|
|
101 |
|
102 |
|
103 |
|
104 |
-
in1 = gr.
|
105 |
-
in2 = gr.
|
106 |
-
in3 = gr.
|
107 |
-
in4 = gr.
|
108 |
-
|
109 |
-
out2 = gr.
|
110 |
-
out3 = gr.
|
111 |
-
out4 = gr.
|
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 = """
|