Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -172,7 +172,7 @@ def do_inference(input_3d, sample_seed=0, do_sampling=False, do_marching_cubes=F
|
|
| 172 |
artist_mesh.fix_normals()
|
| 173 |
|
| 174 |
if do_smooth_shading:
|
| 175 |
-
|
| 176 |
|
| 177 |
if artist_mesh.visual.vertex_colors is not None:
|
| 178 |
orange_color = np.array([255, 165, 0, 255], dtype=np.uint8)
|
|
|
|
| 172 |
artist_mesh.fix_normals()
|
| 173 |
|
| 174 |
if do_smooth_shading:
|
| 175 |
+
smooth_shaded(artist_mesh)
|
| 176 |
|
| 177 |
if artist_mesh.visual.vertex_colors is not None:
|
| 178 |
orange_color = np.array([255, 165, 0, 255], dtype=np.uint8)
|