mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
convert to static
This commit is contained in:
parent
b768eef44d
commit
b374052de2
2 changed files with 46 additions and 6 deletions
|
|
@ -51,11 +51,10 @@ _INSIGHTFACE_MODELS = {
|
|||
}
|
||||
|
||||
|
||||
SUPPORTED_PROVIDERS = [
|
||||
"CUDAExecutionProvider",
|
||||
"OpenVINOExecutionProvider",
|
||||
"CPUExecutionProvider",
|
||||
]
|
||||
SUPPORTED_PROVIDERS = {"CUDAExecutionProvider", "OpenVINOExecutionProvider", "CPUExecutionProvider"}
|
||||
|
||||
|
||||
STATIC_INPUT_PROVIDERS = {"OpenVINOExecutionProvider"}
|
||||
|
||||
|
||||
def is_openclip(model_name: str) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue