wyysf commited on
Commit
28e43fe
1 Parent(s): c594797
Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -133,7 +133,7 @@ def image2mesh(view_front: np.ndarray,
133
  remeshed_filepath = tempfile.NamedTemporaryFile(suffix=f"_remeshed.obj", delete=False).name
134
  print("Remeshing with Instant Meshes...")
135
  # target_face_count = int(len(mesh.faces)/10)
136
- target_face_count = 1000
137
  command = f"{proj_dir}/apps/third_party/InstantMeshes {filepath} -f {target_face_count} -o {remeshed_filepath}"
138
  os.system(command)
139
  filepath = remeshed_filepath
 
133
  remeshed_filepath = tempfile.NamedTemporaryFile(suffix=f"_remeshed.obj", delete=False).name
134
  print("Remeshing with Instant Meshes...")
135
  # target_face_count = int(len(mesh.faces)/10)
136
+ target_face_count = 2000
137
  command = f"{proj_dir}/apps/third_party/InstantMeshes {filepath} -f {target_face_count} -o {remeshed_filepath}"
138
  os.system(command)
139
  filepath = remeshed_filepath