dylanebert's picture
dylanebert HF staff
add local example
520eb11
raw
history blame contribute delete
No virus
314 Bytes
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()