nick_93 commited on
Commit
8414e4e
β€’
1 Parent(s): 8f4661f
app.py CHANGED
@@ -65,7 +65,7 @@ def create_demo(model, device):
65
  return [colored_depth, tmp.name]
66
 
67
  submit.click(on_submit, inputs=[input_image], outputs=[depth_image, raw_file])
68
- examples = gr.Examples(examples=["test_img.jpg"],
69
  inputs=[input_image])
70
 
71
 
@@ -95,8 +95,8 @@ def main():
95
  gr.Markdown(description)
96
  with gr.Tab("Depth Prediction"):
97
  create_demo(model, device)
98
- gr.HTML('''<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/shariqfarooq/ZoeDepth?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br>
99
- <p><img src="https://visitor-badge.glitch.me/badge?page_id=shariqfarooq.zoedepth_demo_hf" alt="visitors"></p></center>''')
100
 
101
  demo.queue().launch(share=True)
102
 
 
65
  return [colored_depth, tmp.name]
66
 
67
  submit.click(on_submit, inputs=[input_image], outputs=[depth_image, raw_file])
68
+ examples = gr.Examples(examples=["imgs/test_img1.jpg", "imgs/test_img2.jpg", "imgs/test_img3.jpg", "imgs/test_img4.jpg"],
69
  inputs=[input_image])
70
 
71
 
 
95
  gr.Markdown(description)
96
  with gr.Tab("Depth Prediction"):
97
  create_demo(model, device)
98
+ gr.HTML('''<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/MykolaL/evp?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br>
99
+ <p><img src="https://visitor-badge.glitch.me/badge?page_id=MykolaL/evp" alt="visitors"></p></center>''')
100
 
101
  demo.queue().launch(share=True)
102
 
depth/{test_img.jpg β†’ imgs/test_img1.jpg} RENAMED
File without changes
depth/imgs/test_img2.jpg ADDED
depth/imgs/test_img3.jpg ADDED
depth/imgs/test_img4.jpg ADDED