Spaces:
Running
on
Zero
Running
on
Zero
Ruining Li
commited on
Commit
·
864e7d1
1
Parent(s):
467aa7e
Update
Browse files
app.py
CHANGED
|
@@ -112,6 +112,10 @@ class ParticulateApp:
|
|
| 112 |
dest_prediction_file = os.path.join(self.output_dir, f"mesh_parts_with_axes_{timestamp}.glb")
|
| 113 |
shutil.copy(animated_glb_file, dest_animated_glb_file)
|
| 114 |
shutil.copy(prediction_file, dest_prediction_file)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
return (
|
| 116 |
dest_animated_glb_file, dest_prediction_file, f"Success!",
|
| 117 |
mesh_parts_original,
|
|
|
|
| 112 |
dest_prediction_file = os.path.join(self.output_dir, f"mesh_parts_with_axes_{timestamp}.glb")
|
| 113 |
shutil.copy(animated_glb_file, dest_animated_glb_file)
|
| 114 |
shutil.copy(prediction_file, dest_prediction_file)
|
| 115 |
+
|
| 116 |
+
# Temporary for debugging.
|
| 117 |
+
mesh_transformed.export(os.path.join(self.output_dir, f"mesh_parts_with_axes_{timestamp}.glb"))
|
| 118 |
+
|
| 119 |
return (
|
| 120 |
dest_animated_glb_file, dest_prediction_file, f"Success!",
|
| 121 |
mesh_parts_original,
|