diff --git a/requirements.txt b/requirements.txt index 8075b21..0bbc225 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ -supervisely==6.72.32 +supervisely==6.72.111 +# git+https://github.com/supervisely/supervisely.git@some-test-branch PyYAML easydict cython diff --git a/serve/serve/src/main.py b/serve/serve/src/main.py index f3b7174..10ee786 100644 --- a/serve/serve/src/main.py +++ b/serve/serve/src/main.py @@ -17,6 +17,9 @@ NAME = os.environ.get("modal.state.modelName", "mixformer_vit_online") +os.environ["SMART_CACHE_TTL"] = str(5 * 60) +os.environ["SMART_CACHE_SIZE"] = str(512) + root = (Path(__file__).parent / ".." / ".." / "..").resolve().absolute() load_dotenv(os.path.expanduser("~/supervisely.env"))