Spaces:
Running
on
Zero
Running
on
Zero
pablovela5620
commited on
Commit
•
765029d
1
Parent(s):
24ad251
Upload gradio_app.py with huggingface_hub
Browse files- gradio_app.py +28 -0
gradio_app.py
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from mini_dust3r.gradio_ui.dust3r_ui import mini_dust3r_ui
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
title = """# Mini-DUSt3R: Unofficial Demo of Dust3r Geometric 3D Vision Made Easy"""
|
5 |
+
description1 = """
|
6 |
+
<a title="Github" href="https://github.com/pablovela5620/mini-dust3r" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
7 |
+
<img src="https://img.shields.io/github/stars/pablovela5620/mini-dust3r?label=GitHub%20%E2%98%85&logo=github&color=C8C" alt="badge-github-stars">
|
8 |
+
</a>
|
9 |
+
<a title="Social" href="https://x.com/pablovelagomez1" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
10 |
+
<img src="https://www.obukhov.ai/img/badges/badge-social.svg" alt="social">
|
11 |
+
</a>
|
12 |
+
<a title="Website" href="https://pablovela.dev/" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
13 |
+
<img src="https://img.shields.io/badge/website-000000?style=for-the-badge&logo=About.me&logoColor=white">
|
14 |
+
</a>
|
15 |
+
<a title="arXiv" href="https://arxiv.org/abs/2312.14132" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
16 |
+
<img src="https://www.obukhov.ai/img/badges/badge-pdf.svg">
|
17 |
+
</a>
|
18 |
+
"""
|
19 |
+
description2 = "Using Rerun to visualize the results of InstantSplat"
|
20 |
+
|
21 |
+
with gr.Blocks() as demo:
|
22 |
+
gr.Markdown(title)
|
23 |
+
gr.Markdown(description1)
|
24 |
+
gr.Markdown(description2)
|
25 |
+
mini_dust3r_ui.render()
|
26 |
+
|
27 |
+
if __name__ == "__main__":
|
28 |
+
demo.launch(server_name="0.0.0.0")
|