This commit is contained in:
2026-10-07 21:23:21 +08:00
parent 79b02d1c7d
commit 9c8e9d523a
11 changed files with 557 additions and 53 deletions

3
scripts/update_and_predict.sh Executable file → Normal file
View File

@@ -3,6 +3,9 @@ set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
PYTHON_BIN="$REPO_ROOT/.venv/bin/python"
if [[ ! -x "$PYTHON_BIN" && -x "$REPO_ROOT/.venv/Scripts/python.exe" ]]; then
PYTHON_BIN="$REPO_ROOT/.venv/Scripts/python.exe"
fi
if [[ ! -x "$PYTHON_BIN" ]]; then
printf 'missing virtualenv Python: %s\n' "$PYTHON_BIN" >&2