Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix IoU threshold = None
Browse files
app.py
CHANGED
@@ -14,9 +14,9 @@ Powered by [inference](https://github.com/roboflow/inference) and [supervision](
|
|
14 |
"""
|
15 |
|
16 |
IMAGE_EXAMPLES = [
|
17 |
-
['https://media.roboflow.com/supervision/image-examples/people-walking.png', 0.3, 0.3, 0.1, 0.3, 0.3],
|
18 |
-
['https://media.roboflow.com/supervision/image-examples/vehicles.png', 0.3, 0.3, 0.1, 0.3, 0.4],
|
19 |
-
['https://media.roboflow.com/supervision/image-examples/basketball-1.png', 0.3, 0.3, 0.1, 0.3, 0.4],
|
20 |
]
|
21 |
|
22 |
YOLO_V8_MODEL = get_model(model_id="coco/8")
|
@@ -207,7 +207,9 @@ with gr.Blocks() as demo:
|
|
207 |
yolo_v10_output_image_component,
|
208 |
yolo11_output_image_component,
|
209 |
rf_detr_output_image_component
|
210 |
-
]
|
|
|
|
|
211 |
)
|
212 |
|
213 |
submit_button_component.click(
|
|
|
14 |
"""
|
15 |
|
16 |
IMAGE_EXAMPLES = [
|
17 |
+
['https://media.roboflow.com/supervision/image-examples/people-walking.png', 0.3, 0.3, 0.1, 0.3, 0.3, 0.5],
|
18 |
+
['https://media.roboflow.com/supervision/image-examples/vehicles.png', 0.3, 0.3, 0.1, 0.3, 0.4, 0.5],
|
19 |
+
['https://media.roboflow.com/supervision/image-examples/basketball-1.png', 0.3, 0.3, 0.1, 0.3, 0.4, 0.5],
|
20 |
]
|
21 |
|
22 |
YOLO_V8_MODEL = get_model(model_id="coco/8")
|
|
|
207 |
yolo_v10_output_image_component,
|
208 |
yolo11_output_image_component,
|
209 |
rf_detr_output_image_component
|
210 |
+
],
|
211 |
+
cache_examples=True,
|
212 |
+
run_on_click=True
|
213 |
)
|
214 |
|
215 |
submit_button_component.click(
|