kitooo commited on
Commit
57bb905
·
verified ·
1 Parent(s): 116f5c6

updated app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ with gr.Blocks() as demo:
45
  prediction = gr.Image(type='pil', label='Segmentation Result')
46
  prob_map = gr.Image(type='pil', label='Probability Map')
47
  segment_button.click(
48
- segment_image,
49
  inputs=[image_input, threshold_slider],
50
  outputs=[image_input, prediction, prob_map]
51
  )
 
45
  prediction = gr.Image(type='pil', label='Segmentation Result')
46
  prob_map = gr.Image(type='pil', label='Probability Map')
47
  segment_button.click(
48
+ segment_sidewalk,
49
  inputs=[image_input, threshold_slider],
50
  outputs=[image_input, prediction, prob_map]
51
  )