Update app.py
Browse files
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("""
|