Update app.py
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ with gr.Blocks(title="SlimSAM") as demo:
|
|
| 93 |
gr.Markdown("SlimSAM is the pruned-distilled version of SAM that is smaller.")
|
| 94 |
gr.Markdown("In this demo, you can compare SlimSAM and SAM outputs in point and box prompts.")
|
| 95 |
|
| 96 |
-
with gr.Tab("
|
| 97 |
with gr.Row():
|
| 98 |
with gr.Column(scale=1):
|
| 99 |
# Title
|
|
@@ -109,7 +109,7 @@ with gr.Blocks(title="SlimSAM") as demo:
|
|
| 109 |
|
| 110 |
btn.click(infer_box, inputs=im, outputs=[output_box_slimsam, output_box_sam])
|
| 111 |
|
| 112 |
-
with gr.Tab("
|
| 113 |
with gr.Row():
|
| 114 |
with gr.Column(scale=1):
|
| 115 |
# Title
|
|
|
|
| 93 |
gr.Markdown("SlimSAM is the pruned-distilled version of SAM that is smaller.")
|
| 94 |
gr.Markdown("In this demo, you can compare SlimSAM and SAM outputs in point and box prompts.")
|
| 95 |
|
| 96 |
+
with gr.Tab("Box Prompt"):
|
| 97 |
with gr.Row():
|
| 98 |
with gr.Column(scale=1):
|
| 99 |
# Title
|
|
|
|
| 109 |
|
| 110 |
btn.click(infer_box, inputs=im, outputs=[output_box_slimsam, output_box_sam])
|
| 111 |
|
| 112 |
+
with gr.Tab("Point Prompt"):
|
| 113 |
with gr.Row():
|
| 114 |
with gr.Column(scale=1):
|
| 115 |
# Title
|