File size: 214 Bytes
a296c4d
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13

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()