Spaces:
Running
Running
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() | |