Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ with gr.Blocks() as demo:
|
|
137 |
|
138 |
with gr.Row():
|
139 |
with gr.Column(scale=1):
|
140 |
-
img = gr.Image(height=
|
141 |
|
142 |
num_people_keep = gr.Number(label="Number of people to keep", minimum=0, maximum=100)
|
143 |
dilate_kernel_size = gr.Slider(label="Dilate Kernel Size", minimum=0, maximum=30, step=1, value=5)
|
@@ -146,7 +146,7 @@ with gr.Blocks() as demo:
|
|
146 |
clear_button_image = gr.Button(value="Reset", variant="secondary", size="sm")#.style(full_width=True, size="sm")
|
147 |
|
148 |
with gr.Column(scale=1):
|
149 |
-
img_out = gr.Image(
|
150 |
|
151 |
#mask = gr.outputs.Image(type="numpy", label="Segmentation Mask")#.style(height="200px")
|
152 |
|
|
|
137 |
|
138 |
with gr.Row():
|
139 |
with gr.Column(scale=1):
|
140 |
+
img = gr.Image(height=300)# value="Input Image" .style(height="200px")
|
141 |
|
142 |
num_people_keep = gr.Number(label="Number of people to keep", minimum=0, maximum=100)
|
143 |
dilate_kernel_size = gr.Slider(label="Dilate Kernel Size", minimum=0, maximum=30, step=1, value=5)
|
|
|
146 |
clear_button_image = gr.Button(value="Reset", variant="secondary", size="sm")#.style(full_width=True, size="sm")
|
147 |
|
148 |
with gr.Column(scale=1):
|
149 |
+
img_out = gr.Image(interactive=False,show_download_button=True)# value="Image with People Removed", type="numpy", .style(height="200px")
|
150 |
|
151 |
#mask = gr.outputs.Image(type="numpy", label="Segmentation Mask")#.style(height="200px")
|
152 |
|