File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1515import backoff
1616import requests
1717from cachetools .func import ttl_cache
18+ from inference_exp .utils .download import download_files_to_directory
1819from requests import Response , Timeout
1920from requests_toolbelt import MultipartEncoder
2021
2122from inference .core import logger
2223from inference .core .cache import cache
2324from inference .core .cache .base import BaseCache
25+ from inference .core .cache .model_artifacts import get_cache_dir , initialise_cache
2426from inference .core .entities .types import (
2527 DatasetID ,
2628 ModelID ,
7173 api_key_safe_raise_for_status_aiohttp ,
7274)
7375from inference .core .utils .url_utils import wrap_url
74- from inference .core .cache .model_artifacts import get_cache_dir , initialise_cache
75- from inference_exp .utils .download import download_files_to_directory
7676
7777MODEL_TYPE_DEFAULTS = {
7878 "object-detection" : "yolov5v2s" ,
You can’t perform that action at this time.
0 commit comments