mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tidy(mm): remove misplaced comment
This commit is contained in:
parent
21617f3bc1
commit
4117cea5bf
@ -62,7 +62,6 @@ class ModelHash:
|
|||||||
def __init__(
|
def __init__(
|
||||||
self, algorithm: HASHING_ALGORITHMS = "blake3", file_filter: Optional[Callable[[str], bool]] = None
|
self, algorithm: HASHING_ALGORITHMS = "blake3", file_filter: Optional[Callable[[str], bool]] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
# The extra type annotation here is necessary for pyright to understand that algorithm is a Literal type
|
|
||||||
self.algorithm: HASHING_ALGORITHMS = algorithm
|
self.algorithm: HASHING_ALGORITHMS = algorithm
|
||||||
if algorithm == "blake3":
|
if algorithm == "blake3":
|
||||||
self._hash_file = self._blake3
|
self._hash_file = self._blake3
|
||||||
|
Loading…
Reference in New Issue
Block a user