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