gguf-py: fix examples/reader.py

Signed-off-by: tarilabs <matteo.mortari@gmail.com>
This commit is contained in:
tarilabs 2024-08-09 16:29:45 +02:00
parent 3071c0a5f2
commit 886f44de69
No known key found for this signature in database
GPG key ID: 432A31D111FD3598

View file

@ -15,7 +15,6 @@ def writer_example() -> None:
# Example usage with a file
gguf_writer = GGUFWriter("example.gguf", "llama")
gguf_writer.add_architecture()
gguf_writer.add_block_count(12)
gguf_writer.add_uint32("answer", 42) # Write a 32-bit integer
gguf_writer.add_float32("answer_in_float", 42.0) # Write a 32-bit float