Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ def main(share=True):
|
|
| 95 |
metric_depth[~mask] = metric_depth[mask].max()
|
| 96 |
return metric_depth, mask, intrinsics
|
| 97 |
|
| 98 |
-
def delete_later(path
|
| 99 |
def _delete():
|
| 100 |
try:
|
| 101 |
os.remove(path)
|
|
|
|
| 95 |
metric_depth[~mask] = metric_depth[mask].max()
|
| 96 |
return metric_depth, mask, intrinsics
|
| 97 |
|
| 98 |
+
def delete_later(path, delay: int = 300):
|
| 99 |
def _delete():
|
| 100 |
try:
|
| 101 |
os.remove(path)
|