Spaces:
Sleeping
Sleeping
File size: 549 Bytes
fe3ddd9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/usr/bin/env bash
# Download the MediaPipe HolisticLandmarker model into the app's assets.
# Required before building — the .task model is ~13 MB and not committed.
set -euo pipefail
cd "$(dirname "$0")"
DEST="app/src/main/assets"
URL="https://storage.googleapis.com/mediapipe-models/holistic_landmarker/holistic_landmarker/float16/latest/holistic_landmarker.task"
mkdir -p "$DEST"
echo "Downloading holistic_landmarker.task (~13 MB)…"
curl -L --fail -o "$DEST/holistic_landmarker.task" "$URL"
echo "Saved to $DEST/holistic_landmarker.task"
|