Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| from gradio_shinymodel3d import ShinyModel3D | |
| import os | |
| model_file = os.path.join(os.path.dirname(__file__), "Duck.glb") | |
| with gr.Blocks() as demo: | |
| ShinyModel3D(model_file) | |
| demo.launch() | |