fix(api): bump default model cache to 5 (#242)
This commit is contained in:
parent
aec540a524
commit
a9456f4a16
|
@ -113,7 +113,7 @@ class DeviceParams:
|
|||
else:
|
||||
return (self.provider, self.options)
|
||||
|
||||
def sess_options(self, cache = True) -> SessionOptions:
|
||||
def sess_options(self, cache=True) -> SessionOptions:
|
||||
if cache and self.sess_options_cache is not None:
|
||||
return self.sess_options_cache
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ from .model_cache import ModelCache
|
|||
|
||||
logger = getLogger(__name__)
|
||||
|
||||
DEFAULT_CACHE_LIMIT = 2
|
||||
DEFAULT_CACHE_LIMIT = 5
|
||||
DEFAULT_JOB_LIMIT = 10
|
||||
DEFAULT_IMAGE_FORMAT = "png"
|
||||
|
||||
|
|
Loading…
Reference in New Issue