Sandeepa commited on
Commit
f0b089b
·
1 Parent(s): 61a5944

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -12,5 +12,6 @@ def reconstruction3d(input_image):
12
 
13
 
14
  input_image = gr.inputs.Image(label="Input Image", type="pil")
15
- iface = gr.Interface(fn=reconstruction3d, inputs=input_image, outputs="image")
 
16
  iface.launch()
 
12
 
13
 
14
  input_image = gr.inputs.Image(label="Input Image", type="pil")
15
+ output_object=gr.Model3D(clear_color=[0.0, 0.0, 0.0, 0.0], label="3D Model")
16
+ iface = gr.Interface(fn=reconstruction3d, inputs=input_image, outputs=output_object)
17
  iface.launch()