Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def process_image(image_path):
|
|
49 |
|
50 |
|
51 |
|
52 |
-
return [depth_image_padded]
|
53 |
|
54 |
|
55 |
examples_images = [[f] for f in sorted(glob.glob("examples/*.jpg"))]
|
@@ -87,6 +87,6 @@ to generate the autostereogram (Magic Eye)
|
|
87 |
button.click(
|
88 |
fn=process_image,
|
89 |
inputs=[input_image],
|
90 |
-
outputs=[predicted_depth],
|
91 |
)
|
92 |
blocks.launch(debug=True)
|
|
|
49 |
|
50 |
|
51 |
|
52 |
+
return [depth_image_padded,]
|
53 |
|
54 |
|
55 |
examples_images = [[f] for f in sorted(glob.glob("examples/*.jpg"))]
|
|
|
87 |
button.click(
|
88 |
fn=process_image,
|
89 |
inputs=[input_image],
|
90 |
+
outputs=[predicted_depth,],
|
91 |
)
|
92 |
blocks.launch(debug=True)
|