dylanebert's picture
dylanebert HF Staff
Update app.py
f6dc941 verified
raw
history blame contribute delete
391 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"),
os.path.join(os.path.dirname(__file__), "bonsai.ply")
],
cache_examples=True,
)
if __name__ == "__main__":
demo.launch()