Download code/common/env.sh from aziz9788/OvisOCR3-Arabic-workdir: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/datasets/aziz9788/OvisOCR3-Arabic-workdir/resolve/main/code/common/env.sh
- Command line
-
hf download hf://datasets/aziz9788/OvisOCR3-Arabic-workdir/code/common/env.sh
-
curl -L -o env.sh https://huggingface.co/datasets/aziz9788/OvisOCR3-Arabic-workdir/resolve/main/code/common/env.sh
404 Bytes
| # Sourced by architectures/*/*.sh. Moves to the repo root and sets the folder variables | |
| # (same defaults and environment variables as common/paths.py). | |
| set -euo pipefail | |
| cd "$(dirname "${BASH_SOURCE[0]}")/.." | |
| W=${OCR_WORK_DIR:-data} | |
| MODELS=${OCR_MODELS_DIR:-$W/models} | |
| UPSTREAM=${OCR_UPSTREAM_DIR:-$W/upstream} | |
| PREPARED=${OCR_PREPARED_DIR:-$W/prepared} | |
| RUNS=${OCR_RUNS_DIR:-$W/runs} | |
| PY=${PYTHON:-python} | |