Update app.py
Browse files
app.py
CHANGED
@@ -47,10 +47,11 @@ iface = gr.Interface(
|
|
47 |
],
|
48 |
outputs=gr.Image(type="pil", label="Result"),
|
49 |
title="Fire Detection using YOLOv8n on Gradio",
|
50 |
-
description="Upload images for inference. The Ultralytics YOLOv8n trained model is used for
|
51 |
examples=[
|
52 |
-
[os.path.join(current_directory, "fire_image_1.jpg"), 0.25, 0.45],
|
53 |
-
[os.path.join(current_directory, "fire_image_3.jpg"), 0.25, 0.45],
|
|
|
54 |
]
|
55 |
)
|
56 |
|
|
|
47 |
],
|
48 |
outputs=gr.Image(type="pil", label="Result"),
|
49 |
title="Fire Detection using YOLOv8n on Gradio",
|
50 |
+
description="Upload images for inference. The Ultralytics YOLOv8n trained model is used for this.",
|
51 |
examples=[
|
52 |
+
[os.path.join(current_directory, "fire_image_1.jpg"), 0.25, 0.45, cache_examples=False],
|
53 |
+
[os.path.join(current_directory, "fire_image_3.jpg"), 0.25, 0.45, cache_examples=False],
|
54 |
+
|
55 |
]
|
56 |
)
|
57 |
|