jbilcke-hf HF staff commited on
Commit
9babed2
·
verified ·
1 Parent(s): 51a89bf

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -235,7 +235,7 @@ def generate_and_process_3d(prompt: str, seed: int = 42) -> tuple[str | None, Im
235
  with torch.autocast(device_type='cuda' if torch.cuda.is_available() else 'cpu', dtype=torch.bfloat16):
236
  trimesh_mesh, _ = spar3d_model.generate_mesh(
237
  batch,
238
- 2048, # texture_resolution
239
  remesh="none",
240
  vertex_count=-1,
241
  estimate_illumination=True
 
235
  with torch.autocast(device_type='cuda' if torch.cuda.is_available() else 'cpu', dtype=torch.bfloat16):
236
  trimesh_mesh, _ = spar3d_model.generate_mesh(
237
  batch,
238
+ 1024, # texture_resolution
239
  remesh="none",
240
  vertex_count=-1,
241
  estimate_illumination=True