Upload 8 files
Browse files
1.jpg
ADDED
|
2.jpg
ADDED
|
3.jpg
ADDED
|
app.py
CHANGED
|
@@ -505,6 +505,18 @@ def create_detection_interface():
|
|
| 505 |
)
|
| 506 |
|
| 507 |
analyze_btn = gr.Button("🔍 Analyze Image", variant="primary")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 508 |
|
| 509 |
with gr.Column():
|
| 510 |
output_image = gr.Image(type="pil", label="Results", height=400)
|
|
|
|
| 505 |
)
|
| 506 |
|
| 507 |
analyze_btn = gr.Button("🔍 Analyze Image", variant="primary")
|
| 508 |
+
|
| 509 |
+
# Example images
|
| 510 |
+
gr.Examples(
|
| 511 |
+
examples=[
|
| 512 |
+
["1.jpg"],
|
| 513 |
+
["2.jpg"],
|
| 514 |
+
["3.jpg"],
|
| 515 |
+
],
|
| 516 |
+
inputs=input_image,
|
| 517 |
+
label="Example Images",
|
| 518 |
+
examples_per_page=3
|
| 519 |
+
)
|
| 520 |
|
| 521 |
with gr.Column():
|
| 522 |
output_image = gr.Image(type="pil", label="Results", height=400)
|