snicolau commited on
Commit
51a2f5e
Β·
verified Β·
1 Parent(s): bae05ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -139,12 +139,11 @@ with gr.Blocks() as demo:
139
  lama = gr.Button(value="Remove people", variant="primary", size="sm")#.style(full_width=True, size="sm")
140
  clear_button_image = gr.Button(value="Reset", variant="secondary", size="sm")#.style(full_width=True, size="sm")
141
 
142
- img = gr.Image(label="Input Image").style(height="200px")
143
 
144
- #mask = gr.outputs.Image(type="numpy", label="Segmentation Mask").style(height="200px")
145
 
146
- img_out = gr.outputs.Image(
147
- type="numpy", label="Image with People Removed").style(height="200px")
148
 
149
  lama.click(
150
  get_inpainted_img,
 
139
  lama = gr.Button(value="Remove people", variant="primary", size="sm")#.style(full_width=True, size="sm")
140
  clear_button_image = gr.Button(value="Reset", variant="secondary", size="sm")#.style(full_width=True, size="sm")
141
 
142
+ img = gr.Image(value="Input Image")#.style(height="200px")
143
 
144
+ #mask = gr.outputs.Image(type="numpy", label="Segmentation Mask")#.style(height="200px")
145
 
146
+ img_out = gr.outputs.Image(value="Image with People Removed")# type="numpy", .style(height="200px")
 
147
 
148
  lama.click(
149
  get_inpainted_img,