Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -331,9 +331,6 @@ segm_img_b = gr.Image(
|
|
331 |
label="Segmented Image with Box-Prompt", interactive=False, type="pil"
|
332 |
)
|
333 |
|
334 |
-
global_points = gr.State([])
|
335 |
-
global_point_label = gr.State([])
|
336 |
-
|
337 |
input_size_slider = gr.components.Slider(
|
338 |
minimum=512,
|
339 |
maximum=1024,
|
@@ -344,6 +341,8 @@ input_size_slider = gr.components.Slider(
|
|
344 |
)
|
345 |
|
346 |
with gr.Blocks(css=css, title="Efficient SAM") as demo:
|
|
|
|
|
347 |
with gr.Row():
|
348 |
with gr.Column(scale=1):
|
349 |
# Title
|
|
|
331 |
label="Segmented Image with Box-Prompt", interactive=False, type="pil"
|
332 |
)
|
333 |
|
|
|
|
|
|
|
334 |
input_size_slider = gr.components.Slider(
|
335 |
minimum=512,
|
336 |
maximum=1024,
|
|
|
341 |
)
|
342 |
|
343 |
with gr.Blocks(css=css, title="Efficient SAM") as demo:
|
344 |
+
global_points = gr.State([])
|
345 |
+
global_point_label = gr.State([])
|
346 |
with gr.Row():
|
347 |
with gr.Column(scale=1):
|
348 |
# Title
|