From 4117cea5bf3a81598e5f7c4471c572a8361da721 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 14 Mar 2024 15:46:11 +1100 Subject: [PATCH] tidy(mm): remove misplaced comment --- invokeai/backend/model_hash/model_hash.py | 1 - 1 file changed, 1 deletion(-) diff --git a/invokeai/backend/model_hash/model_hash.py b/invokeai/backend/model_hash/model_hash.py index 36f70ca3b9..caa26c5881 100644 --- a/invokeai/backend/model_hash/model_hash.py +++ b/invokeai/backend/model_hash/model_hash.py @@ -62,7 +62,6 @@ class ModelHash: def __init__( self, algorithm: HASHING_ALGORITHMS = "blake3", file_filter: Optional[Callable[[str], bool]] = None ) -> None: - # The extra type annotation here is necessary for pyright to understand that algorithm is a Literal type self.algorithm: HASHING_ALGORITHMS = algorithm if algorithm == "blake3": self._hash_file = self._blake3