zino36 commited on
Commit
e2923ca
·
verified ·
1 Parent(s): 5e51d3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ with gr.Blocks(css=css) as demo:
84
 
85
  result = predict_depth(image)
86
 
87
- return [(original_image, result.depth)]
88
 
89
  submit.click(on_submit, inputs=[input_image], outputs=[depth_image_slider, gray_depth_file, raw_file])
90
 
 
84
 
85
  result = predict_depth(image)
86
 
87
+ return [(original_image, result["depth"])]
88
 
89
  submit.click(on_submit, inputs=[input_image], outputs=[depth_image_slider, gray_depth_file, raw_file])
90