File size: 314 Bytes
eb7b937
520eb11
eb7b937
 
 
 
 
 
 
 
7405bd1
 
520eb11
eb7b937
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import gradio as gr
import os


def load_splat(url):
    return url


demo = gr.Interface(
    fn=load_splat,
    inputs=gr.Model3D(),
    outputs=gr.Model3D(),
    examples=[os.path.join(os.path.dirname(__file__), "bonsai-7k-mini.splat")],
    cache_examples=True,
)

if __name__ == "__main__":
    demo.launch()