Spaces:
Running
on
Zero
Running
on
Zero
support the latest gradio-dualvision embedding
Browse files
app.py
CHANGED
@@ -68,42 +68,47 @@ class MarigoldDepthApp(DualVisionApp):
|
|
68 |
gr.Markdown(
|
69 |
"""
|
70 |
## Marigold Depth Estimation
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
<
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
107 |
)
|
108 |
|
109 |
def build_user_components(self):
|
|
|
68 |
gr.Markdown(
|
69 |
"""
|
70 |
## Marigold Depth Estimation
|
71 |
+
"""
|
72 |
+
)
|
73 |
+
with gr.Row(elem_classes="remove-elements"):
|
74 |
+
gr.Markdown(
|
75 |
+
f"""
|
76 |
+
<p align="center">
|
77 |
+
<a title="Website" href="https://marigoldmonodepth.github.io/" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
78 |
+
<img src="https://img.shields.io/badge/%E2%99%A5%20Project%20-Website-blue">
|
79 |
+
</a>
|
80 |
+
<a title="arXiv" href="https://arxiv.org/abs/2312.02145" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
81 |
+
<img src="https://img.shields.io/badge/%F0%9F%93%84%20Read%20-Paper-AF3436">
|
82 |
+
</a>
|
83 |
+
<a title="Github" href="https://github.com/prs-eth/marigold" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
84 |
+
<img src="https://img.shields.io/github/stars/prs-eth/marigold?label=GitHub%20%E2%98%85&logo=github&color=C8C" alt="badge-github-stars">
|
85 |
+
</a>
|
86 |
+
<a title="Image Normals" href="https://huggingface.co/spaces/prs-eth/marigold-normals" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
87 |
+
<img src="https://img.shields.io/badge/%F0%9F%A4%97%20Image%20Normals%20-Demo-yellow" alt="imagedepth">
|
88 |
+
</a>
|
89 |
+
<a title="Image Intrinsics" href="https://huggingface.co/spaces/prs-eth/marigold-iid" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
90 |
+
<img src="https://img.shields.io/badge/%F0%9F%A4%97%20Image%20Intrinsics%20-Demo-yellow" alt="imagedepth">
|
91 |
+
</a>
|
92 |
+
<a title="LiDAR Depth" href="https://huggingface.co/spaces/prs-eth/marigold-dc" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
93 |
+
<img src="https://img.shields.io/badge/%F0%9F%A4%97%20LiDAR%20Depth%20-Demo-yellow" alt="imagedepth">
|
94 |
+
</a>
|
95 |
+
<a title="Video Depth" href="https://huggingface.co/spaces/prs-eth/rollingdepth" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
96 |
+
<img src="https://img.shields.io/badge/%F0%9F%A4%97%20Video%20Depth%20-Demo-yellow" alt="videodepth">
|
97 |
+
</a>
|
98 |
+
<a title="Depth-to-3D" href="https://huggingface.co/spaces/prs-eth/depth-to-3d-print" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
99 |
+
<img src="https://img.shields.io/badge/%F0%9F%A4%97%20Depth--to--3D%20-Demo-yellow" alt="depthto3d">
|
100 |
+
</a>
|
101 |
+
<a title="Social" href="https://twitter.com/antonobukhov1" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
102 |
+
<img src="https://shields.io/twitter/follow/:?label=Subscribe%20for%20updates!" alt="social">
|
103 |
+
</a>
|
104 |
+
</p>
|
105 |
+
<p align="center" style="margin-top: 0px;">
|
106 |
+
Upload a photo or select an example below to compute depth maps in real time.
|
107 |
+
Use the slider to reveal areas of interest.
|
108 |
+
Use the radio-buttons to switch between modalities.
|
109 |
+
Check our other demo badges above for new or relocated functionality.
|
110 |
+
</p>
|
111 |
+
"""
|
112 |
)
|
113 |
|
114 |
def build_user_components(self):
|