modal-omniparser

A serverless compute port of the OmniParser vision model for the Modal platform.
git clone https://unitehenry.com/git/modal-omniparser.git
Log | Files | Refs | README

commit bb66e4a3d8b9ffd5e64afe81ec496cd7c93c230f
parent be2e8df6492cd831b4c53e34175bb40924c484f0
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sat, 14 Mar 2026 09:55:15 +0000

chore: format

Diffstat:
Mapp.py | 6++++--
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