initial commit
Browse files
app.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
def get_splat(url):
|
| 5 |
+
return url
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
demo = gr.Interface(
|
| 9 |
+
get_splat,
|
| 10 |
+
inputs=gr.Model3D(),
|
| 11 |
+
outputs=gr.Model3D(),
|
| 12 |
+
examples=[
|
| 13 |
+
"https://hugginface.co/datasets/dylanebert/3dgs/resolve/main/bonsai/bonsai-7k-mini.splat" # https://twitter.com/dylan_ebert_/status/1758203173544640585
|
| 14 |
+
],
|
| 15 |
+
cache_examples=True,
|
| 16 |
+
)
|
| 17 |
+
|
| 18 |
+
demo.launch()
|