mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
apply config correctly, adjust defaults
This commit is contained in:
parent
22690fa096
commit
585d093baf
10 changed files with 43 additions and 35 deletions
|
|
@ -57,7 +57,7 @@ class InferenceModel(ABC):
|
|||
self.load()
|
||||
if model_kwargs:
|
||||
self.configure(**model_kwargs)
|
||||
return self._predict(*inputs, **model_kwargs)
|
||||
return self._predict(*inputs)
|
||||
|
||||
@abstractmethod
|
||||
def _predict(self, *inputs: Any, **model_kwargs: Any) -> Any: ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue