gangweix commited on
Commit
9f11e29
·
verified ·
1 Parent(s): 8614259

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,6 +9,7 @@ import torch.nn.functional as F
9
  import open3d as o3d
10
  import trimesh
11
  import tempfile
 
12
  from pathlib import Path
13
  from gradio_imageslider import ImageSlider
14
  from huggingface_hub import hf_hub_download
@@ -214,7 +215,7 @@ def main(share=True):
214
  example_files = [os.path.join('assets/examples', filename) for filename in example_files]
215
  examples = gr.Examples(
216
  examples=example_files,
217
- inputs=[input_image],
218
  outputs=[depth_map, model_3d, download_files],
219
  fn=on_submit
220
  )
 
9
  import open3d as o3d
10
  import trimesh
11
  import tempfile
12
+ import shutil
13
  from pathlib import Path
14
  from gradio_imageslider import ImageSlider
15
  from huggingface_hub import hf_hub_download
 
215
  example_files = [os.path.join('assets/examples', filename) for filename in example_files]
216
  examples = gr.Examples(
217
  examples=example_files,
218
+ inputs=[input_image, denoise_steps, apply_filter],
219
  outputs=[depth_map, model_3d, download_files],
220
  fn=on_submit
221
  )