File size: 370 Bytes
ebb7062
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import gradio as gr
from gradio_model3dgs import Model3DGS


def load_splat(splat_file_name):
    return splat_file_name


demo = gr.Interface(
    fn=load_splat,
    inputs=Model3DGS(),
    outputs=Model3DGS(),
    examples=[
        "https://huggingface.co/datasets/dylanebert/3dgs/resolve/main/bonsai/bonsai-7k.splat"
    ],
    cache_examples=True,
)


demo.launch()