Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -82,9 +82,9 @@ with gr.Blocks(css=css) as demo:
|
|
82 |
original_image = image.copy()
|
83 |
|
84 |
|
85 |
-
|
86 |
|
87 |
-
return [(original_image, depth)]
|
88 |
|
89 |
submit.click(on_submit, inputs=[input_image], outputs=[depth_image_slider, gray_depth_file, raw_file])
|
90 |
|
|
|
82 |
original_image = image.copy()
|
83 |
|
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 |
|