edeler commited on
Commit
a187c12
·
verified ·
1 Parent(s): 9d1ea3d

Upload 8 files

Browse files
Files changed (4) hide show
  1. 1.jpg +0 -0
  2. 2.jpg +0 -0
  3. 3.jpg +0 -0
  4. app.py +12 -0
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)