Spaces:
Running
on
Zero
Running
on
Zero
add header link to self for embedding
Browse filesadd badge for diffusers tutorial
bump to the latest diffusers
- app.py +5 -2
- requirements.txt +1 -1
app.py
CHANGED
@@ -67,7 +67,7 @@ class MarigoldDepthApp(DualVisionApp):
|
|
67 |
def make_header(self):
|
68 |
gr.Markdown(
|
69 |
"""
|
70 |
-
## Marigold Depth Estimation
|
71 |
"""
|
72 |
)
|
73 |
with gr.Row(elem_classes="remove-elements"):
|
@@ -77,6 +77,9 @@ class MarigoldDepthApp(DualVisionApp):
|
|
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>
|
@@ -167,7 +170,7 @@ class MarigoldDepthApp(DualVisionApp):
|
|
167 |
if ensemble_size >= 3:
|
168 |
uncertainty = pipe.image_processor.visualize_uncertainty(pipe_out.uncertainty)[0]
|
169 |
out_modalities["Uncertainty"] = uncertainty
|
170 |
-
|
171 |
out_settings = {
|
172 |
"ensemble_size": ensemble_size,
|
173 |
"denoise_steps": denoise_steps,
|
|
|
67 |
def make_header(self):
|
68 |
gr.Markdown(
|
69 |
"""
|
70 |
+
## [Marigold Depth Estimation](https://huggingface.co/spaces/prs-eth/marigold)
|
71 |
"""
|
72 |
)
|
73 |
with gr.Row(elem_classes="remove-elements"):
|
|
|
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="diffusers" href="https://huggingface.co/docs/diffusers/using-diffusers/marigold_usage" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
81 |
+
<img src="https://img.shields.io/badge/%F0%9F%A7%A8%20Read_diffusers-tutorial-yellow?labelColor=green">
|
82 |
+
</a>
|
83 |
<a title="arXiv" href="https://arxiv.org/abs/2312.02145" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
84 |
<img src="https://img.shields.io/badge/%F0%9F%93%84%20Read%20-Paper-AF3436">
|
85 |
</a>
|
|
|
170 |
if ensemble_size >= 3:
|
171 |
uncertainty = pipe.image_processor.visualize_uncertainty(pipe_out.uncertainty)[0]
|
172 |
out_modalities["Uncertainty"] = uncertainty
|
173 |
+
|
174 |
out_settings = {
|
175 |
"ensemble_size": ensemble_size,
|
176 |
"denoise_steps": denoise_steps,
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
diffusers>=0.
|
2 |
git+https://github.com/toshas/gradio-dualvision.git@21346a4
|
3 |
accelerate
|
4 |
huggingface_hub
|
|
|
1 |
+
diffusers>=0.33.0
|
2 |
git+https://github.com/toshas/gradio-dualvision.git@21346a4
|
3 |
accelerate
|
4 |
huggingface_hub
|