Spaces:
Sleeping
Sleeping
File size: 1,052 Bytes
aaa201d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #!/bin/bash
# Quick push script for Hugging Face Space
echo "๐ Pushing LoL Multi-Agent Coach to Hugging Face..."
echo ""
cd /Users/ralitzamondal/Documents/LolMultiAgent
# Check git status
echo "๐ Current status:"
git status
echo ""
# Ask user to confirm
read -p "Ready to push? (y/n) " -n 1 -r
echo ""
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo "๐ Pushing to Hugging Face..."
echo " (You may need to enter your HF token)"
git push
if [ $? -eq 0 ]; then
echo ""
echo "โ
SUCCESS! Your Space is updating!"
echo "๐ Visit: https://huggingface.co/spaces/Ralitza1/LolMultiAgent"
echo ""
echo "โณ Wait 5-10 minutes for build to complete"
echo "๐ Don't forget to add API keys in Space Settings!"
else
echo ""
echo "โ Push failed. You may need to:"
echo " 1. Get your HF token: https://huggingface.co/settings/tokens"
echo " 2. Run: huggingface-cli login"
echo " 3. Try again"
fi
else
echo "โ Push cancelled"
fi
|