aryswisnu commited on
Commit
59c021e
·
1 Parent(s): 98ee81f

disable draw_rectangles, output_plot, output_image

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -84,13 +84,13 @@ with gr.Blocks() as demo:
84
  minimum=0, maximum=1, value=0.4, label="Threshold"
85
  )
86
  input_slider_A = gr.Slider(minimum=0, maximum=1, value=0.5, label="Alpha")
87
- draw_rectangles = gr.Checkbox(label="Draw rectangles")
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,
 
84
  minimum=0, maximum=1, value=0.4, label="Threshold"
85
  )
86
  input_slider_A = gr.Slider(minimum=0, maximum=1, value=0.5, label="Alpha")
87
+ # draw_rectangles = gr.Checkbox(label="Draw rectangles")
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,