JunlinHan commited on
Commit
ecb69b6
1 Parent(s): 5d87500

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def _default_render_cameras(batch_size: int = 1):
153
  render_cameras = _build_camera_standard(extrinsics, render_camera_intrinsics)
154
  return render_cameras.unsqueeze(0).repeat(batch_size, 1, 1)
155
 
156
- def generate_mesh(image, source_size=512, render_size=384, mesh_size=384, export_mesh=False, export_video=True, fps=30):
157
  image = preprocess_image(image, source_size).to(model_wrapper.device)
158
  source_camera = _default_source_camera(batch_size=1).to(model_wrapper.device)
159
 
 
153
  render_cameras = _build_camera_standard(extrinsics, render_camera_intrinsics)
154
  return render_cameras.unsqueeze(0).repeat(batch_size, 1, 1)
155
 
156
+ def generate_mesh(image, source_size=512, render_size=384, mesh_size=512, export_mesh=False, export_video=True, fps=30):
157
  image = preprocess_image(image, source_size).to(model_wrapper.device)
158
  source_camera = _default_source_camera(batch_size=1).to(model_wrapper.device)
159