Update invokeai/app/services/model_install/model_install_base.py

Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>
This commit is contained in:
Lincoln Stein 2023-12-04 20:09:41 -05:00 committed by GitHub
parent 018ccebd6f
commit 6f46d15c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,7 @@ class ModelInstallServiceBase(ABC):
"""Remove model with indicated key from the database."""
@abstractmethod
def delete(self, key: str) -> None: # noqa D102
def delete(self, key: str) -> None:
"""Remove model with indicated key from the database. Delete its files only if they are within our models directory."""
@abstractmethod