Spaces:
Running
on
L40S
Running
on
L40S
Update gradio_app.py
Browse files- 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 |
-
|
90 |
remesh="none",
|
91 |
vertex_count=-1,
|
92 |
-
estimate_illumination=
|
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 |
|