Spaces:
Running
on
Zero
Running
on
Zero
- sam2_mask.py +1 -1
sam2_mask.py
CHANGED
@@ -51,7 +51,7 @@ def create_sam2_mask_interface():
|
|
51 |
upload_image_input = ImagePrompter(show_label=False)
|
52 |
submit_button = gr.Button("Submit")
|
53 |
with gr.Column():
|
54 |
-
image_output = gr.Image(label="Segmented Image", type="pil"
|
55 |
|
56 |
# Define the action triggered by the submit button
|
57 |
submit_button.click(
|
|
|
51 |
upload_image_input = ImagePrompter(show_label=False)
|
52 |
submit_button = gr.Button("Submit")
|
53 |
with gr.Column():
|
54 |
+
image_output = gr.Image(label="Segmented Image", type="pil", height=400)
|
55 |
|
56 |
# Define the action triggered by the submit button
|
57 |
submit_button.click(
|