EModel
Spaces
·
M
openml-labs
/
mesh-from-photo
♡
Like
27
Running
App
Files
Community
2
⋮
0be80da
mesh-from-photo
/
app.py
Download
Raw
History
249 Bytes
1
import gradio as gr
2
3
4
def to_3d(image):
5
return reconstruct(image, output="mesh.glb")
6
7
demo = gr.Interface(to_3d, gr.Image(label="Input image"), gr.Model3D(label="3D asset"), title="Mesh from Photo")
8
9
if __name__ == "__main__":
10
demo.launch()