scripts: added inline script metadata per PEP 723 [no-ci]
This commit is contained in:
parent
84ec8a58f7
commit
2ae9bb7764
3 changed files with 19 additions and 0 deletions
|
@ -1,4 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "GitPython",
|
||||
# "tabulate",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
import logging
|
||||
import argparse
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
# /// script
|
||||
# dependencies = [
|
||||
# "requests",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import array
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
#!/usr/bin/env python
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "huggingface_hub",
|
||||
# "requests",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
'''
|
||||
Fetches the Jinja chat template of a HuggingFace model.
|
||||
If a model has multiple chat templates, you can specify the variant name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue