jxwang1 commited on
Commit
a68b44f
·
1 Parent(s): f641176

convert obj to glb

Browse files

lighting baked in with glb

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def handle_text_prompt(input_prompt):
44
  # save output
45
  vertices, faces = mesh_v_f[0][0], mesh_v_f[0][1]
46
  save_folder = gen_save_folder()
47
- output_path = os.path.join(save_folder, "output.obj")
48
  trimesh.Trimesh(vertices=vertices, faces=faces).export(output_path)
49
  return output_path
50
 
 
44
  # save output
45
  vertices, faces = mesh_v_f[0][0], mesh_v_f[0][1]
46
  save_folder = gen_save_folder()
47
+ output_path = os.path.join(save_folder, "output.glb")
48
  trimesh.Trimesh(vertices=vertices, faces=faces).export(output_path)
49
  return output_path
50