Datasets:
Download scripts/generate_country_laws_ir.py from justicedao/ipfs_peru_laws_ir: direct link, hf CLI and curl.
- Browser
- Download file 329 Bytes
-
https://huggingface.co/datasets/justicedao/ipfs_peru_laws_ir/resolve/main/scripts/generate_country_laws_ir.py
- Command line
-
hf download hf://datasets/justicedao/ipfs_peru_laws_ir/scripts/generate_country_laws_ir.py
-
curl -L -o generate_country_laws_ir.py https://huggingface.co/datasets/justicedao/ipfs_peru_laws_ir/resolve/main/scripts/generate_country_laws_ir.py
329 Bytes
| #!/usr/bin/env python3 | |
| """Generation entrypoint copied into Hub dataset repos.""" | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parents[1] | |
| sys.path.insert(0, str(ROOT)) | |
| from country_laws_ir.__main__ import main | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) | |