commit fd262dac3ccad63b49b0f2fb008761184286c99c
parent 541ea5ee97bb51d7e1ca5580d3a063e7e7c58ee9
Author: Henry Unite <unitehenry@gmail.com>
Date: Sat, 14 Mar 2026 19:13:02 +0000
chore: format
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/image.py b/image.py
@@ -55,7 +55,8 @@ omniparser_v2_0_1 = (
]
),
"mv weights/icon_caption weights/icon_caption_florence",
- ])
+ ]
+ )
.add_local_python_source("volume")
.add_local_python_source("image")
.add_local_python_source("parse")
diff --git a/volume.py b/volume.py
@@ -3,6 +3,7 @@ from functools import wraps
vol = modal.Volume.from_name("omniparser", create_if_missing=True)
+
def cache(func):
import os
import subprocess