Abdulrahman1989 commited on
Commit
e6d8d8b
·
1 Parent(s): ce7c685

Fix path of mesh

Browse files
Files changed (1) hide show
  1. Image3DProcessor.py +1 -1
Image3DProcessor.py CHANGED
@@ -114,7 +114,7 @@ class Image3DProcessor:
114
 
115
  # Save the mesh as a .ply file and load its content
116
  mesh_path = "mesh.ply"
117
- export_to_obj(reconstruction, mesh_path)
118
  with open(mesh_path, "rb") as mesh_file:
119
  mesh_data = mesh_file.read()
120
 
 
114
 
115
  # Save the mesh as a .ply file and load its content
116
  mesh_path = "mesh.ply"
117
+ export_to_obj(reconstruction, f"/home/user/app/{mesh_path}")
118
  with open(mesh_path, "rb") as mesh_file:
119
  mesh_data = mesh_file.read()
120