Spaces:
Runtime error
Runtime error
Commit
·
0febdc1
1
Parent(s):
b638444
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,13 @@ def yolov8_inference(
|
|
37 |
|
38 |
inputs = [
|
39 |
# Images
|
40 |
-
gr.Examples(
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
gr.inputs.Slider(minimum=320, maximum=1280, default=640, step=32, label="Image Size"),
|
42 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.25, step=0.05, label="Confidence Threshold"),
|
43 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold"),
|
|
|
37 |
|
38 |
inputs = [
|
39 |
# Images
|
40 |
+
gr.Examples(
|
41 |
+
[
|
42 |
+
'samples/1.jpeg',
|
43 |
+
'samples/2.JPG',
|
44 |
+
],
|
45 |
+
inputs={'postprocess': gr.postprocess()},
|
46 |
+
),
|
47 |
gr.inputs.Slider(minimum=320, maximum=1280, default=640, step=32, label="Image Size"),
|
48 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.25, step=0.05, label="Confidence Threshold"),
|
49 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold"),
|