mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
format
This commit is contained in:
parent
88c9935c4a
commit
664e1bdd97
1 changed files with 1 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue