Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
dd26c52
1
Parent(s):
1689431
fix
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ with block:
|
|
50 |
sam_decode_btn, depth_reconstruction_btn, masks_annotated_image}
|
51 |
def on_depth_reconstruction_btn_click(inputs):
|
52 |
print("depth reconstruction")
|
53 |
-
image = inputs[raw_image]
|
54 |
# depth reconstruction
|
55 |
fig = generate_PCL(image)
|
56 |
return {pcl_figure: fig}
|
|
|
50 |
sam_decode_btn, depth_reconstruction_btn, masks_annotated_image}
|
51 |
def on_depth_reconstruction_btn_click(inputs):
|
52 |
print("depth reconstruction")
|
53 |
+
image = np.array(inputs[raw_image])
|
54 |
# depth reconstruction
|
55 |
fig = generate_PCL(image)
|
56 |
return {pcl_figure: fig}
|