aryswisnu commited on
Commit
9594fde
·
1 Parent(s): 61209fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -88,9 +88,9 @@ with gr.Blocks() as demo:
88
  btn_process = gr.Button(label="Process")
89
 
90
  with gr.Column():
91
- # output_plot = gr.Plot(label="Segmentation Result")
92
  output_mask = gr.Image(label="Mask")
93
- # output_image = gr.Image(label="Output Image")
94
 
95
  btn_process.click(
96
  process_image,
@@ -101,7 +101,7 @@ with gr.Blocks() as demo:
101
  input_slider_A,
102
  draw_rectangles,
103
  ],
104
- outputs=output_mask,api_name="masking"
105
  )
106
 
107
  gr.Examples(
 
88
  btn_process = gr.Button(label="Process")
89
 
90
  with gr.Column():
91
+ output_plot = gr.Plot(label="Segmentation Result")
92
  output_mask = gr.Image(label="Mask")
93
+ output_image = gr.Image(label="Output Image")
94
 
95
  btn_process.click(
96
  process_image,
 
101
  input_slider_A,
102
  draw_rectangles,
103
  ],
104
+ outputs=[output_mask],api_name="masking"
105
  )
106
 
107
  gr.Examples(