From 6cd47fd0cfb6a3b233f57e793943cb67b2a41e4e Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 14 Jul 2024 10:01:05 +1000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: compilade --- gguf-py/scripts/gguf_hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gguf-py/scripts/gguf_hash.py b/gguf-py/scripts/gguf_hash.py index 2ad4dded8..ee34d09bf 100755 --- a/gguf-py/scripts/gguf_hash.py +++ b/gguf-py/scripts/gguf_hash.py @@ -27,7 +27,7 @@ UUID_NAMESPACE_LLAMA_CPP = uuid.UUID('ef001206-dadc-5f6d-a15f-3359e577d4e5') # For more information about what field.parts and field.data represent, # please see the comments in the modify_gguf.py example. -def gguf_hash(reader: GGUFReader, filename: str, disable_progress_bar: bool, no_layer:bool) -> None: +def gguf_hash(reader: GGUFReader, filename: str, disable_progress_bar: bool, no_layer: bool) -> None: sha1 = hashlib.sha1() sha256 = hashlib.sha256() uuidv5_sha1 = hashlib.sha1()