BoooomNing commited on
Commit
e6260ad
Β·
verified Β·
1 Parent(s): 008dac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -0
app.py CHANGED
@@ -569,6 +569,31 @@ with gr.Blocks(css=css, title="Snapwear Create Background") as demo:
569
  examples_per_page=4,
570
  )
571
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
572
 
573
  # ──────── Use Cases ────────
574
  gr.HTML("""
 
569
  examples_per_page=4,
570
  )
571
 
572
+ # ──────── Model Comparison Grid ────────
573
+ if os.path.exists("examples/Grid.jpg"):
574
+ gr.HTML("""
575
+ <div class="showcase-section">
576
+ <h2 style="text-align:center;color:#333;margin-bottom:20px;">
577
+ πŸ”¬ Model Comparison Analysis
578
+ </h2>
579
+ <p style="text-align:center;color:#666;margin-bottom:30px;font-size:16px;">
580
+ See how Snapwear BGAI compares against leading Create Background models
581
+ </p>
582
+ </div>
583
+ """)
584
+
585
+ # Display the comparison grid image
586
+ with gr.Row():
587
+ with gr.Column():
588
+ comparison_image = gr.Image(
589
+ value="examples/Grid.jpg",
590
+ label="Create Background Model Comparison",
591
+ show_label=True,
592
+ interactive=False,
593
+ height=600,
594
+ show_download_button=True,
595
+ show_share_button=False
596
+ )
597
 
598
  # ──────── Use Cases ────────
599
  gr.HTML("""