Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ description = "Intel's DPT: Dense Prediction Transformer for depth estimation fr
|
|
40 |
|
41 |
iface = gr.Interface(
|
42 |
fn=process_image,
|
43 |
-
inputs=
|
44 |
-
outputs=
|
45 |
title=title,
|
46 |
description=description,
|
47 |
allow_flagging="never"
|
|
|
40 |
|
41 |
iface = gr.Interface(
|
42 |
fn=process_image,
|
43 |
+
inputs=gr.inputs.Image(type="pil", label="Input Image"),
|
44 |
+
outputs=gr.outputs.Image(type="pil", label="Predicted Depth"),
|
45 |
title=title,
|
46 |
description=description,
|
47 |
allow_flagging="never"
|