adpro commited on
Commit
2ea3e93
·
verified ·
1 Parent(s): 02acfac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -43,7 +43,7 @@ def process_image(image_path):
43
 
44
  title = "Demo: zero-shot depth estimation with DPT + 3D Point Cloud"
45
  description = "This demo is a variation from the original <a href='https://huggingface.co/spaces/nielsr/dpt-depth-estimation' target='_blank'>DPT Demo</a>. It uses the DPT model to predict the depth of an image and then uses 3D Point Cloud to create a 3D object."
46
- examples = [["examples/" + img] for img in os.listdir("examples/")]
47
 
48
  iface = gr.Interface(
49
  fn=process_image,
@@ -53,7 +53,6 @@ iface = gr.Interface(
53
  ],
54
  title=title,
55
  description=description,
56
- examples=examples,
57
  allow_flagging="never",
58
  cache_examples=False,
59
  )
 
43
 
44
  title = "Demo: zero-shot depth estimation with DPT + 3D Point Cloud"
45
  description = "This demo is a variation from the original <a href='https://huggingface.co/spaces/nielsr/dpt-depth-estimation' target='_blank'>DPT Demo</a>. It uses the DPT model to predict the depth of an image and then uses 3D Point Cloud to create a 3D object."
46
+
47
 
48
  iface = gr.Interface(
49
  fn=process_image,
 
53
  ],
54
  title=title,
55
  description=description,
 
56
  allow_flagging="never",
57
  cache_examples=False,
58
  )