commit bb66e4a3d8b9ffd5e64afe81ec496cd7c93c230f
parent be2e8df6492cd831b4c53e34175bb40924c484f0
Author: Henry Unite <unitehenry@gmail.com>
Date: Sat, 14 Mar 2026 09:55:15 +0000
chore: format
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app.py b/app.py
@@ -73,7 +73,7 @@ def cache(func):
".paddleocr",
".EasyOCR",
".config/Ultralytics",
- ".cache/huggingface/hub"
+ ".cache/huggingface/hub",
]
@wraps(func)
@@ -86,7 +86,9 @@ def cache(func):
finally:
for path in CACHE_PATHS:
os.makedirs(os.path.dirname(f"/data/{path}"), exist_ok=True)
- subprocess.run(["mv", "-f", "--", f"/root/{path}", "/data/{path}"], check=False)
+ subprocess.run(
+ ["mv", "-f", "--", f"/root/{path}", "/data/{path}"], check=False
+ )
return wrapper