Spaces:
Runtime error
Runtime error
updated app
Browse files
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 |
-
|
| 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 |
)
|