eagle0504 commited on
Commit
125aaee
1 Parent(s): c3a6b98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ def launch(input_image: Image.Image) -> Image.Image:
42
  # Define the Gradio interface
43
  iface = gr.Interface(
44
  fn=launch,
45
- inputs=gr.inputs.Image(type='pil'),
46
- outputs=gr.outputs.Image(type='pil'),
47
  title="Depth Estimation",
48
  description="Upload an image to estimate its depth map."
49
  )
 
42
  # Define the Gradio interface
43
  iface = gr.Interface(
44
  fn=launch,
45
+ inputs=gr.Image(type='pil'),
46
+ outputs=gr.Image(type='pil'),
47
  title="Depth Estimation",
48
  description="Upload an image to estimate its depth map."
49
  )