Clean up gguf-py/examples/modify_gguf.py whitespace
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
This commit is contained in:
parent
b56ed66195
commit
4a5cd6924f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue