| # Quick status check script for Hugging Face Space | |
| set -e | |
| echo "π Hugging Face Space Status Check" | |
| echo "====================================" | |
| echo "" | |
| # Check if git remote exists | |
| if ! git remote | grep -q "hf"; then | |
| echo "β No 'hf' remote found. Run deploy.sh first." | |
| exit 1 | |
| fi | |
| # Get the remote URL | |
| HF_URL=$(git remote get-url hf) | |
| echo "π Space URL: $HF_URL" | |
| echo "" | |
| # Check git status | |
| echo "π Local Repository Status:" | |
| git status --short | |
| echo "" | |
| echo "π Recent Commits:" | |
| git log --oneline -5 | |
| echo "" | |
| echo "π To check your Space online, visit: $HF_URL" | |