CoolFace
Apppublic

wchen22/touchdown-compression-classifier

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
deploy.sh18 linesDownload Raw Back to root
1#!/usr/bin/env bash2set -euo pipefail3 4SPACE_ID="${1:-}"5if [[ -z "${SPACE_ID}" ]]; then6  echo "usage: $0 <namespace/touchdown-compression-classifier>" >&27  exit 28fi9 10if ! command -v hf >/dev/null 2>&1; then11  echo "hf CLI not found. Install with: curl -LsSf https://hf.co/cli/install.sh | bash -s" >&212  exit 213fi14 15hf auth whoami >/dev/null16hf repos create "${SPACE_ID}" --type space --space-sdk docker --exist-ok17hf upload "${SPACE_ID}" "$(dirname "$0")" --type space18