Spaces:
Build error
Build error
Download docker/pre_commit_init.sh from afshin-dini/Deep-Barcode-Reader: direct link, hf CLI and curl.
- Browser
- Download file 190 Bytes
-
https://huggingface.co/spaces/afshin-dini/Deep-Barcode-Reader/resolve/main/docker/pre_commit_init.sh
- Command line
-
hf download hf://spaces/afshin-dini/Deep-Barcode-Reader/docker/pre_commit_init.sh
-
curl -L -o pre_commit_init.sh https://huggingface.co/spaces/afshin-dini/Deep-Barcode-Reader/resolve/main/docker/pre_commit_init.sh
190 Bytes
| if [ ! -d .git ] | |
| then | |
| git init | |
| git checkout -b precommit_init | |
| git add . | |
| fi | |
| set -e | |
| poetry run pre-commit install | |
| SKIP="poetry-lock" poetry run pre-commit run --all-files | |