Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
d777e23
1
Parent(s):
76253eb
input
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ with block:
|
|
85 |
|
86 |
def on_depth_reconstruction_btn_click(inputs):
|
87 |
print("depth reconstruction")
|
88 |
-
image = inputs[
|
89 |
path = dpt.generate_obj(image, inputs[n_samples])
|
90 |
return {pcl_figure: path}
|
91 |
depth_reconstruction_btn.click(on_depth_reconstruction_btn_click, components, [pcl_figure], queue=False)
|
|
|
85 |
|
86 |
def on_depth_reconstruction_btn_click(inputs):
|
87 |
print("depth reconstruction")
|
88 |
+
image = inputs[input_image]
|
89 |
path = dpt.generate_obj(image, inputs[n_samples])
|
90 |
return {pcl_figure: path}
|
91 |
depth_reconstruction_btn.click(on_depth_reconstruction_btn_click, components, [pcl_figure], queue=False)
|