Init: 第一个版本
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user