File size: 586 Bytes
60c56d7 |
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 |
#!/bin/bash
# Deployment script for Hugging Face Spaces
echo "Deploying to Hugging Face Space..."
# Initialize git if not already
if [ ! -d ".git" ]; then
git init
fi
# Add all files
git add .
# Commit changes
git commit -m "Deploy Colorize API with Firebase App Check"
# Add Hugging Face remote (replace with your space URL)
git remote add origin https://huggingface.co/spaces/LogicGoInfotechSpaces/Colorize || git remote set-url origin https://huggingface.co/spaces/LogicGoInfotechSpaces/Colorize
# Push to Hugging Face
git push -u origin main
echo "Deployment complete!"
|