zino36 commited on
Commit
2c36086
·
verified ·
1 Parent(s): 43734ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ with gr.Blocks(css=css) as demo:
70
  gr.Markdown("### Depth Prediction demo")
71
 
72
  with gr.Row():
73
- input_image = gr.Image(label="Input Image", elem_id='img-display-input')
74
  depth_image_slider = ImageSlider(label="Depth Map with Slider View", elem_id='img-display-output', position=0.5)
75
  submit = gr.Button(value="Compute Depth")
76
  gray_depth_file = gr.File(label="Grayscale depth map", elem_id="download",)
 
70
  gr.Markdown("### Depth Prediction demo")
71
 
72
  with gr.Row():
73
+ input_image = gr.Image(label="Input Image", type="pil" ,elem_id='img-display-input')
74
  depth_image_slider = ImageSlider(label="Depth Map with Slider View", elem_id='img-display-output', position=0.5)
75
  submit = gr.Button(value="Compute Depth")
76
  gray_depth_file = gr.File(label="Grayscale depth map", elem_id="download",)