Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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",)
|