Spaces:
Running
on
L40S
Running
on
L40S
Update gradio_app.py
Browse files- 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 |
-
|
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
|