Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def yolov8_inference(
|
|
51 |
|
52 |
inputs = [
|
53 |
# gr.inputs.Image(type="filepath", label="Input Image"),
|
54 |
-
gr.image(source="upload", type="pil", label="Image Upload", interactive=True)
|
55 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.25, step=0.05, label="Confidence Threshold"),
|
56 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold"),
|
57 |
]
|
|
|
51 |
|
52 |
inputs = [
|
53 |
# gr.inputs.Image(type="filepath", label="Input Image"),
|
54 |
+
gr.image(source="upload", type="pil", label="Image Upload", interactive=True),
|
55 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.25, step=0.05, label="Confidence Threshold"),
|
56 |
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold"),
|
57 |
]
|