Zojikk commited on
Commit
40e667a
·
verified ·
1 Parent(s): 276bb3c

Update gradio_im_to_3d.py

Browse files
Files changed (1) hide show
  1. gradio_im_to_3d.py +1 -1
gradio_im_to_3d.py CHANGED
@@ -46,7 +46,7 @@ def get_mesh(model, image, keep_edges=False):
46
  mesh = trimesh.Trimesh(vertices=verts, faces=triangles, vertex_colors=colors)
47
 
48
  # Save as glb
49
- glb_file = tempfile.NamedTemporaryFile(suffix='.glb', delete=False)
50
  glb_path = glb_file.name
51
  mesh.export(glb_path)
52
  return glb_path
 
46
  mesh = trimesh.Trimesh(vertices=verts, faces=triangles, vertex_colors=colors)
47
 
48
  # Save as glb
49
+ glb_file = tempfile.NamedTemporaryFile(suffix='.obj', delete=False)
50
  glb_path = glb_file.name
51
  mesh.export(glb_path)
52
  return glb_path