SkalskiP commited on
Commit
7ea5176
1 Parent(s): 2b61647

separate image output component for mask

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -145,8 +145,9 @@ with gr.Blocks() as demo:
145
  with gr.Column():
146
  output_image_component = gr.Image(
147
  type='pil', image_mode='RGB', label='Generated image')
148
- output_mask_component = gr.Image(
149
- type='pil', image_mode='RGB', label='Input mask')
 
150
 
151
  submit_button_component.click(
152
  fn=process,
 
145
  with gr.Column():
146
  output_image_component = gr.Image(
147
  type='pil', image_mode='RGB', label='Generated image')
148
+ with gr.Accordion("Debug", open=False):
149
+ output_mask_component = gr.Image(
150
+ type='pil', image_mode='RGB', label='Input mask')
151
 
152
  submit_button_component.click(
153
  fn=process,