Clean up gguf-py/examples/modify_gguf.py whitespace

Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
This commit is contained in:
Kerfuffle 2023-11-09 00:21:15 -07:00 committed by GitHub
parent b56ed66195
commit 4a5cd6924f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ from pathlib import Path
# Necessary to load the local gguf package # Necessary to load the local gguf package
sys.path.insert(0, str(Path(__file__).parent.parent)) sys.path.insert(0, str(Path(__file__).parent.parent))
from gguf import GGUFReader # noqa: E402 from gguf import GGUFReader # noqa: E402
def change_gguf(reader: GGUFReader, key: str, value: str) -> None: def change_gguf(reader: GGUFReader, key: str, value: str) -> None:
field = reader.get_field(key) field = reader.get_field(key)