Download predict_cli.sh from hjy1805/Kp_prediction_cli: direct link, hf CLI and curl.
- Browser
- Download file 654 Bytes
-
https://huggingface.co/hjy1805/Kp_prediction_cli/resolve/main/predict_cli.sh
- Command line
-
hf download hf://hjy1805/Kp_prediction_cli/predict_cli.sh
-
curl -L -o predict_cli.sh https://huggingface.co/hjy1805/Kp_prediction_cli/resolve/main/predict_cli.sh
654 Bytes
| # KAUST Genomic Risk Prediction - CLI Launcher | |
| # Easy wrapper for running predictions from command line | |
| set -e # Exit on error | |
| # Get the directory where this script is located | |
| SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| cd "$SCRIPT_DIR" | |
| # Check if Python CLI wrapper exists | |
| if [ ! -f "cli_wrapper.py" ]; then | |
| echo "❌ cli_wrapper.py not found in $SCRIPT_DIR" | |
| exit 1 | |
| fi | |
| # Check if Python is available | |
| if ! command -v python3 &> /dev/null; then | |
| echo "❌ Python 3 not found. Please install Python 3." | |
| exit 1 | |
| fi | |
| # Run the CLI wrapper with all arguments passed to this script | |
| python3 cli_wrapper.py "$@" | |