mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-01-26 19:29:54 +00:00
33 lines
614 B
YAML
33 lines
614 B
YAML
# https://taskfile.dev
|
|
|
|
version: "3"
|
|
|
|
dotenv:
|
|
- .env
|
|
|
|
tasks:
|
|
default:
|
|
cmds:
|
|
- echo "$PYTHON"
|
|
- echo "$WEBUI"
|
|
- echo "$UV_PYTHON"
|
|
silent: true
|
|
|
|
launch:
|
|
dir: "{{.WEBUI}}"
|
|
cmds:
|
|
- "{{.PYTHON}} launch.py --xformers --api"
|
|
silent: true
|
|
|
|
lint:
|
|
cmds:
|
|
- pre-commit run -a
|
|
|
|
update:
|
|
cmds:
|
|
- "{{.PYTHON}} -m uv pip install -U ultralytics mediapipe ruff pre-commit black devtools pytest hypothesis"
|
|
|
|
update-torch:
|
|
cmds:
|
|
- "{{.PYTHON}} -m uv pip install -U torch torchvision torchaudio -f https://download.pytorch.org/whl/torch_stable.html"
|