Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,10 +54,10 @@ image_interface = gr.Interface(
|
|
| 54 |
#gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold")
|
| 55 |
],
|
| 56 |
outputs=gr.outputs.Image(type="filepath", label="Output Image"),
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
)
|
| 62 |
|
| 63 |
|
|
|
|
| 54 |
#gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold")
|
| 55 |
],
|
| 56 |
outputs=gr.outputs.Image(type="filepath", label="Output Image"),
|
| 57 |
+
|
| 58 |
+
examples=[['image1.jpg', 'Aalaa/Yolov7_Visual_Pollution_Detection', 640, 0.25, 0.45]],
|
| 59 |
+
cache_examples=True,
|
| 60 |
+
theme='huggingface',
|
| 61 |
)
|
| 62 |
|
| 63 |
|