adpro commited on
Commit
cf99912
·
verified ·
1 Parent(s): 95d18d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=[input_image],
44
- outputs=[predicted_depth],
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"