File size: 473 Bytes
38fec81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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