Spaces:
Runtime error
Runtime error
Binlaveloos
commited on
Commit
•
33db227
1
Parent(s):
f8b4798
Update gradio_depth_pred.py
Browse files- gradio_depth_pred.py +1 -1
gradio_depth_pred.py
CHANGED
@@ -10,7 +10,7 @@ def predict_depth(model, image):
|
|
10 |
def create_demo(model):
|
11 |
gr.Markdown("### Depth Prediction demo")
|
12 |
with gr.Row():
|
13 |
-
input_image = gr.Image(label="Input Image", type='pil', elem_id='img-display-input')
|
14 |
depth_image = gr.Image(label="Depth Map", elem_id='img-display-output')
|
15 |
raw_file = gr.File(label="16-bit raw depth, multiplier:256")
|
16 |
submit = gr.Button("Submit")
|
|
|
10 |
def create_demo(model):
|
11 |
gr.Markdown("### Depth Prediction demo")
|
12 |
with gr.Row():
|
13 |
+
input_image = gr.Image(label="Input Image", type='pil', elem_id='img-display-input')
|
14 |
depth_image = gr.Image(label="Depth Map", elem_id='img-display-output')
|
15 |
raw_file = gr.File(label="16-bit raw depth, multiplier:256")
|
16 |
submit = gr.Button("Submit")
|