jens commited on
Commit
dd26c52
·
1 Parent(s): 1689431
Files changed (1) hide show
  1. app.py +1 -1
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}