Spaces:
Running
on
A10G
Running
on
A10G
nick_93
commited on
Commit
β’
8414e4e
1
Parent(s):
8f4661f
init
Browse files- app.py +3 -3
- depth/{test_img.jpg β imgs/test_img1.jpg} +0 -0
- depth/imgs/test_img2.jpg +0 -0
- depth/imgs/test_img3.jpg +0 -0
- depth/imgs/test_img4.jpg +0 -0
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=["
|
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/
|
99 |
-
<p><img src="https://visitor-badge.glitch.me/badge?page_id=
|
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