#!/usr/bin/env bash # Push ToolMind to Hugging Face Spaces (excludes venv + env files with secrets). # Do NOT copy .env into the repo: the Hub rejects commits containing HF tokens in files. set -euo pipefail cd "$(dirname "$0")/.." REPO_ID="${1:-IshwaM/Enigma}" source myvenv/bin/activate exec openenv push --repo-id "$REPO_ID" --exclude .gitignore