This commit is contained in:
mertalev 2025-10-15 14:19:27 -04:00
parent 88c9935c4a
commit 664e1bdd97
No known key found for this signature in database
GPG key ID: DF6ABC77AAD98C95

View file

@ -184,8 +184,7 @@ async def run_inference(payload: Image | str, entries: InferenceEntries) -> Infe
async def _run_inference(entry: InferenceEntry) -> None:
model = await model_cache.get(
entry["name"], entry["type"], entry["task"],
ttl=settings.model_ttl, **entry["options"]
entry["name"], entry["type"], entry["task"], ttl=settings.model_ttl, **entry["options"]
)
inputs = [payload]
for dep in model.depends: