| import gradio as gr | |
| def get_splat(url): | |
| return url | |
| demo = gr.Interface( | |
| get_splat, | |
| inputs=gr.Model3D(), | |
| outputs=gr.Model3D(), | |
| examples=[ | |
| "https://huggingface.co/datasets/dylanebert/3dgs/resolve/main/bonsai/bonsai-7k-mini.splat" # https://twitter.com/dylan_ebert_/status/1758203173544640585 | |
| ], | |
| cache_examples=True, | |
| ) | |
| demo.launch() | |