Download run-local.sh from Lucasgitguy-co/image3d-student: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/Lucasgitguy-co/image3d-student/resolve/main/run-local.sh
- Command line
-
hf download hf://Lucasgitguy-co/image3d-student/run-local.sh
-
curl -L -o run-local.sh https://huggingface.co/Lucasgitguy-co/image3d-student/resolve/main/run-local.sh
511 Bytes
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| if [ -x .venv/bin/python ]; then | |
| exec .venv/bin/python -m image3d_student.cli "$@" | |
| fi | |
| # Reuse the environment installed during this chat when running in the delivered outputs folder. | |
| if [ -x ../../work/image3d-student/.venv/bin/python ]; then | |
| export PYTHONPATH="$PWD/src${PYTHONPATH:+:$PYTHONPATH}" | |
| exec ../../work/image3d-student/.venv/bin/python -m image3d_student.cli "$@" | |
| fi | |
| echo "No local environment found. Run bash setup.sh first." | |
| exit 1 | |