toshas commited on
Commit
420840d
·
1 Parent(s): d8dc19a

support the latest gradio-dualvision embedding

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