Navya-Sree's picture
Create deploy.sh
38fec81 verified
raw
history blame contribute delete
473 Bytes
#!/bin/bash
# Initialize Git LFS
git lfs install
# Create repo structure
mkdir -p unesco-translator/{models,cultural_data}
# Add large files to LFS
git lfs track "*.bin"
git lfs track "cultural_data/*.csv"
# Setup virtual environment
python -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Push to Hugging Face Hub
huggingface-cli login
huggingface-cli repo create unesco-translator --type space -y
git push origin main