gangweix commited on
Commit
34a19b4
·
verified ·
1 Parent(s): 500548f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: Union[str, os.PathLike], delay: int = 300):
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)