9 lines
275 B
Bash
Executable File
9 lines
275 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
export HF_ENDPOINT="${HF_ENDPOINT:-https://hf-mirror.com}"
|
|
if [[ ! -x .venv/bin/python ]]; then
|
|
uv sync --python 3.13 --index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
fi
|
|
exec uv run --python 3.13 python -m app
|