#!/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!"