yuragoithf commited on
Commit
6d9b33d
·
1 Parent(s): f963ab3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,10 +33,10 @@ def process_image(image):
33
 
34
  title = "Depth Estimation"
35
  description = "Upload an image and get the depth visualization"
36
- examples =[["house.jpg"], ["plane.webp"], ["room.webp"]]
37
 
38
  iface = gr.Interface(fn=process_image,
39
- inputs=gr.inputs.Image(type="pil", label="Upload an image"),
40
  outputs=gr.outputs.Image(type="pil", label="Predicted depth"),
41
  title=title,
42
  description=description,
 
33
 
34
  title = "Depth Estimation"
35
  description = "Upload an image and get the depth visualization"
36
+ examples =[['house.jpg'], ['plane.webp'], ['room.webp']]
37
 
38
  iface = gr.Interface(fn=process_image,
39
+ inputs=gr.inputs.Image(type="pil"),
40
  outputs=gr.outputs.Image(type="pil", label="Predicted depth"),
41
  title=title,
42
  description=description,