Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -294,7 +294,7 @@ def run_triposg(image_path: str,
|
|
| 294 |
mesh.export(part)
|
| 295 |
parts.append(part)
|
| 296 |
|
| 297 |
-
zip_path = os.path.join(
|
| 298 |
|
| 299 |
# shutil.make_archive wants the base name without extension:
|
| 300 |
base_name = zip_path[:-4] # strip off '.zip'
|
|
|
|
| 294 |
mesh.export(part)
|
| 295 |
parts.append(part)
|
| 296 |
|
| 297 |
+
zip_path = os.path.join(os.environ["PARTCRAFTER_PROCESSED"], f"{session_id}.zip")
|
| 298 |
|
| 299 |
# shutil.make_archive wants the base name without extension:
|
| 300 |
base_name = zip_path[:-4] # strip off '.zip'
|