radames HF staff commited on
Commit
c6a2067
1 Parent(s): 9f3ad94

covert components

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -105,12 +105,12 @@ description = "This demo is a variation from the original <a href='https://huggi
105
  examples = [["examples/" + img] for img in os.listdir("examples/")]
106
 
107
  iface = gr.Interface(fn=process_image,
108
- inputs=[gr.inputs.Image(
109
  type="filepath", label="Input Image")],
110
- outputs=[gr.outputs.Image(label="predicted depth", type="pil"),
111
- gr.outputs.Image3D(label="3d mesh reconstruction", clear_color=[
112
  1.0, 1.0, 1.0, 1.0]),
113
- gr.outputs.File(label="3d gLTF")],
114
  title=title,
115
  description=description,
116
  examples=examples,
 
105
  examples = [["examples/" + img] for img in os.listdir("examples/")]
106
 
107
  iface = gr.Interface(fn=process_image,
108
+ inputs=[gr.Image(
109
  type="filepath", label="Input Image")],
110
+ outputs=[gr.Image(label="predicted depth", type="pil"),
111
+ gr.Model3D(label="3d mesh reconstruction", clear_color=[
112
  1.0, 1.0, 1.0, 1.0]),
113
+ gr.File(label="3d gLTF")],
114
  title=title,
115
  description=description,
116
  examples=examples,