codic commited on
Commit
a75e3aa
·
verified ·
1 Parent(s): 452deee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ iface = gr.Interface(
125
  fn=process_image,
126
  inputs=[
127
  gr.Image(type="filepath", label="Input Image"),
128
- gr.Image(type="filepath", label="Input Depth Map (optional)"), # Keep this as gr.Image
129
  ],
130
  outputs=[
131
  gr.Image(label="Predicted Depth", type="pil"),
 
125
  fn=process_image,
126
  inputs=[
127
  gr.Image(type="filepath", label="Input Image"),
128
+ gr.File(label="Input Depth Map (optional)"), # Changed from gr.Image to gr.File
129
  ],
130
  outputs=[
131
  gr.Image(label="Predicted Depth", type="pil"),