Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ with gr.Blocks(css=css) as demo:
|
|
84 |
|
85 |
result = predict_depth(image)
|
86 |
|
87 |
-
return
|
88 |
|
89 |
submit.click(on_submit, inputs=[input_image], outputs=[depth_image_slider])
|
90 |
|
|
|
84 |
|
85 |
result = predict_depth(image)
|
86 |
|
87 |
+
return result["depth"]
|
88 |
|
89 |
submit.click(on_submit, inputs=[input_image], outputs=[depth_image_slider])
|
90 |
|