mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
+huggingface-cli (#4163)
This commit is contained in:
parent
309b23a27d
commit
974021d239
2 changed files with 21 additions and 2 deletions
21
projects/huggingface.co/package.yml
Normal file
21
projects/huggingface.co/package.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/huggingface/huggingface_hub/archive/refs/tags/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
display-name: huggingface/cli
|
||||||
|
|
||||||
|
# if there’s a github then we can parse the versions
|
||||||
|
versions:
|
||||||
|
github: huggingface/huggingface_hub
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
python.org: ~3.11
|
||||||
|
|
||||||
|
build:
|
||||||
|
python-venv.sh {{prefix}}/bin/huggingface-cli
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/huggingface-cli
|
||||||
|
|
||||||
|
test:
|
||||||
|
huggingface-cli --help
|
|
@ -2,9 +2,7 @@ cmds:
|
||||||
- pygmentize
|
- pygmentize
|
||||||
# - youtube-dl # we pacakge this ourselves
|
# - youtube-dl # we pacakge this ourselves
|
||||||
- openai
|
- openai
|
||||||
- huggingface-cli
|
|
||||||
- thefuck
|
- thefuck
|
||||||
args:
|
args:
|
||||||
pygmentize: [pipx, run, --spec, pygments]
|
pygmentize: [pipx, run, --spec, pygments]
|
||||||
huggingface-cli: pipx run --spec huggingface_hub
|
|
||||||
...: [pipx, run]
|
...: [pipx, run]
|
||||||
|
|
Loading…
Reference in a new issue