Download scripts/push_github.sh from baicai1145/g2pS: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/baicai1145/g2pS/resolve/main/scripts/push_github.sh
- Command line
-
hf download hf://baicai1145/g2pS/scripts/push_github.sh
-
curl -L -o push_github.sh https://huggingface.co/baicai1145/g2pS/resolve/main/scripts/push_github.sh
322 Bytes
| # Push to GitHub. Requires auth (gh auth login or SSH remote). | |
| set -e | |
| cd "$(dirname "$0")/.." | |
| git init -q 2>/dev/null || true | |
| git add -A | |
| git commit -qm "g2pS release: small/tiny/nano ONNX models + runtime" || true | |
| git remote remove origin 2>/dev/null || true | |
| git remote add origin "$1" | |
| git push -u origin main | |