hlydecker commited on
Commit
f87e841
1 Parent(s): a74f596

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file")
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')