Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -177,7 +177,11 @@ def do_inference(input_3d, sample_seed=0, do_sampling=False, do_marching_cubes=F
|
|
177 |
artist_mesh.export(save_name)
|
178 |
mesh.vertices = mesh.vertices[:, [0, 2, 1]]
|
179 |
artist_mesh.vertices = artist_mesh.vertices[:, [0, 2, 1]]
|
180 |
-
|
|
|
|
|
|
|
|
|
181 |
|
182 |
|
183 |
_HEADER_ = '''
|
|
|
177 |
artist_mesh.export(save_name)
|
178 |
mesh.vertices = mesh.vertices[:, [0, 2, 1]]
|
179 |
artist_mesh.vertices = artist_mesh.vertices[:, [0, 2, 1]]
|
180 |
+
input_wireframe_save_name = f"input_wireframe_{int(time.time())}.obj"
|
181 |
+
output_wireframe_save_name = f"output_wireframe_{int(time.time())}.obj"
|
182 |
+
mesh.export(input_wireframe_save_name)
|
183 |
+
artist_mesh.export(output_wireframe_save_name)
|
184 |
+
return input_save_name, input_wireframe_save_name, save_name, output_wireframe_save_name
|
185 |
|
186 |
|
187 |
_HEADER_ = '''
|