jens commited on
Commit
a68e603
·
1 Parent(s): 706546d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ with block:
88
  def on_depth_reconstruction_btn_click(inputs):
89
  print("depth reconstruction")
90
  image = inputs[input_image]
91
- path = dpt.generate_obj_masks(image, inputs[n_samples], inputs[cube_size])
92
  return {pcl_figure: path}
93
  depth_reconstruction_btn.click(on_depth_reconstruction_btn_click, components, [pcl_figure], queue=False)
94
 
 
88
  def on_depth_reconstruction_btn_click(inputs):
89
  print("depth reconstruction")
90
  image = inputs[input_image]
91
+ path = dpt.generate_obj_masks(image=image, n_samples=inputs[n_samples], cube_size=inputs[cube_size], masks=inputs[masks])
92
  return {pcl_figure: path}
93
  depth_reconstruction_btn.click(on_depth_reconstruction_btn_click, components, [pcl_figure], queue=False)
94