snicolau commited on
Commit
1ba3f94
Β·
verified Β·
1 Parent(s): b8e3c24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -136,13 +136,13 @@ with gr.Blocks() as demo:
136
  with gr.Row():
137
  with gr.Column(scale=1):
138
  img = gr.Image()# value="Input Image" .style(height="200px")
139
-
140
- lama = gr.Button(value="Remove people", variant="primary", size="sm")#.style(full_width=True, size="sm")
141
- clear_button_image = gr.Button(value="Reset", variant="secondary", size="sm")#.style(full_width=True, size="sm")
142
 
143
  num_people_keep = gr.Number(label="Number of people to keep", minimum=0, maximum=100)
144
  dilate_kernel_size = gr.Slider(label="Dilate Kernel Size", minimum=0, maximum=30, step=1, value=5)
145
 
 
 
 
146
  with gr.Column(scale=1):
147
  img_out = gr.Image(interactive=False,show_download_button=True)# value="Image with People Removed", type="numpy", .style(height="200px")
148
 
 
136
  with gr.Row():
137
  with gr.Column(scale=1):
138
  img = gr.Image()# value="Input Image" .style(height="200px")
 
 
 
139
 
140
  num_people_keep = gr.Number(label="Number of people to keep", minimum=0, maximum=100)
141
  dilate_kernel_size = gr.Slider(label="Dilate Kernel Size", minimum=0, maximum=30, step=1, value=5)
142
 
143
+ lama = gr.Button(value="Remove people", variant="primary", size="sm")#.style(full_width=True, size="sm")
144
+ clear_button_image = gr.Button(value="Reset", variant="secondary", size="sm")#.style(full_width=True, size="sm")
145
+
146
  with gr.Column(scale=1):
147
  img_out = gr.Image(interactive=False,show_download_button=True)# value="Image with People Removed", type="numpy", .style(height="200px")
148