Update reader.py

another whitespace :|
This commit is contained in:
John 2024-01-30 16:07:01 +01:00 committed by GitHub
parent e86dff5818
commit 5960879814
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ def read_gguf_file(gguf_file_path):
print("Key-Value Pairs:") print("Key-Value Pairs:")
max_key_length = max(len(key) for key in reader.fields.keys()) max_key_length = max(len(key) for key in reader.fields.keys())
for key, field in reader.fields.items(): for key, field in reader.fields.items():
value = field.parts[field.data[0]] value = field.parts[field.data[0]]
print(f"{key:{max_key_length}} : {value}") print(f"{key:{max_key_length}} : {value}")
print("----") print("----")