History238 Bytes
1import gradio as gr
2
3
4def to_3d(image):
5 return reconstruct(image, output="mesh.glb")
6
7demo = gr.Interface(to_3d, gr.Image(label="Input image"), gr.Model3D(label="3D asset"), title="Idol")
8
9if __name__ == "__main__":
10 demo.launch()
Built with HubCloneSettings