docs: Fix filename in docstring and remove return type from main
This commit is contained in:
parent
f572213c34
commit
bf5154f9bc
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
"""
|
"""
|
||||||
gguf_chat_template.py - example file to extract the chat template from the models metadata
|
gguf-template.py - example file to extract the chat template from the models metadata
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
@ -80,7 +80,7 @@ def display_chat_template(chat_template: str, format_template: bool = False):
|
||||||
|
|
||||||
|
|
||||||
# Example usage:
|
# Example usage:
|
||||||
def main() -> None:
|
def main():
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description="Extract chat template from a GGUF model file"
|
description="Extract chat template from a GGUF model file"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue