Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -171,7 +171,7 @@ def do_inference(input_3d, sample_seed=0, do_sampling=False, do_marching_cubes=F
|
|
| 171 |
artist_mesh.remove_unreferenced_vertices()
|
| 172 |
artist_mesh.fix_normals()
|
| 173 |
|
| 174 |
-
|
| 175 |
smooth_shade(artist_mesh)
|
| 176 |
|
| 177 |
if artist_mesh.visual.vertex_colors is not None:
|
|
|
|
| 171 |
artist_mesh.remove_unreferenced_vertices()
|
| 172 |
artist_mesh.fix_normals()
|
| 173 |
|
| 174 |
+
if do_smooth_shading:
|
| 175 |
smooth_shade(artist_mesh)
|
| 176 |
|
| 177 |
if artist_mesh.visual.vertex_colors is not None:
|