Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def segment_buildings(input_image):
|
|
36 |
return Image.fromarray(np.uint8(out.get_image())).convert('RGB')
|
37 |
|
38 |
# gradio components -inputs
|
39 |
-
gr_image_input = gr.inputs.Image(type="
|
40 |
"""
|
41 |
gr_slider_confidence = gr.inputs.Slider(0,1,.1,.7,
|
42 |
label='Set confidence threshold % for masks')
|
|
|
36 |
return Image.fromarray(np.uint8(out.get_image())).convert('RGB')
|
37 |
|
38 |
# gradio components -inputs
|
39 |
+
gr_image_input = gr.inputs.Image(type="pil")
|
40 |
"""
|
41 |
gr_slider_confidence = gr.inputs.Slider(0,1,.1,.7,
|
42 |
label='Set confidence threshold % for masks')
|