Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -589,9 +589,9 @@ with gr.Blocks(css=css, fill_height=True) as demo:
|
|
| 589 |
# outputs=[image_output],
|
| 590 |
# show_progress=True,
|
| 591 |
# )
|
| 592 |
-
with gr.TabItem("SAM2.1 Segmented Mask"):
|
| 593 |
-
|
| 594 |
-
|
| 595 |
# Define the action triggered by the upload_image_input change
|
| 596 |
# upload_image_input.change(
|
| 597 |
# fn=update_mask,
|
|
|
|
| 589 |
# outputs=[image_output],
|
| 590 |
# show_progress=True,
|
| 591 |
# )
|
| 592 |
+
# with gr.TabItem("SAM2.1 Segmented Mask"):
|
| 593 |
+
# with gr.Blocks() as sam_demo:
|
| 594 |
+
# sam_block = gr.load(name="spaces/LPX55/SAM2_1-Image-Predictor-Masking-Tool-CPU")
|
| 595 |
# Define the action triggered by the upload_image_input change
|
| 596 |
# upload_image_input.change(
|
| 597 |
# fn=update_mask,
|