jbilcke-hf HF staff commited on
Commit
287be50
·
verified ·
1 Parent(s): d1dfe56

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +2 -2
gradio_app.py CHANGED
@@ -86,10 +86,10 @@ def process_image(image_path: str) -> str:
86
  with torch.autocast(device_type=device, dtype=torch.bfloat16) if "cuda" in device else nullcontext():
87
  trimesh_mesh, _ = model.generate_mesh(
88
  batch,
89
- texture_resolution=1024,
90
  remesh="none",
91
  vertex_count=-1,
92
- estimate_illumination=False
93
  )
94
  trimesh_mesh = trimesh_mesh[0]
95
 
 
86
  with torch.autocast(device_type=device, dtype=torch.bfloat16) if "cuda" in device else nullcontext():
87
  trimesh_mesh, _ = model.generate_mesh(
88
  batch,
89
+ 1024, # <- texture_resolution
90
  remesh="none",
91
  vertex_count=-1,
92
+ estimate_illumination=True
93
  )
94
  trimesh_mesh = trimesh_mesh[0]
95