Update app.py
Browse files
app.py
CHANGED
|
@@ -47,10 +47,10 @@ iface = gr.Interface(
|
|
| 47 |
outputs=gr.Image(type="pil", label="Result"),
|
| 48 |
title="Fire Detection using YOLOv8n on Gradio",
|
| 49 |
description="Upload images for inference. The Ultralytics YOLOv8n trained model is used for inference.",
|
| 50 |
-
|
| 51 |
["image/fire_image_1.jpg"], ["image/fire_image_2.jpg"], ["image/fire_image_3.jpg"],
|
| 52 |
|
| 53 |
-
]
|
| 54 |
)
|
| 55 |
|
| 56 |
if __name__ == '__main__':
|
|
|
|
| 47 |
outputs=gr.Image(type="pil", label="Result"),
|
| 48 |
title="Fire Detection using YOLOv8n on Gradio",
|
| 49 |
description="Upload images for inference. The Ultralytics YOLOv8n trained model is used for inference.",
|
| 50 |
+
gr.Examples([
|
| 51 |
["image/fire_image_1.jpg"], ["image/fire_image_2.jpg"], ["image/fire_image_3.jpg"],
|
| 52 |
|
| 53 |
+
])
|
| 54 |
)
|
| 55 |
|
| 56 |
if __name__ == '__main__':
|