Navya-Sree commited on
Commit
38fec81
·
verified ·
1 Parent(s): 9cbb8f7

Create deploy.sh

Browse files
Files changed (1) hide show
  1. deploy.sh +23 -0
deploy.sh ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Initialize Git LFS
4
+ git lfs install
5
+
6
+ # Create repo structure
7
+ mkdir -p unesco-translator/{models,cultural_data}
8
+
9
+ # Add large files to LFS
10
+ git lfs track "*.bin"
11
+ git lfs track "cultural_data/*.csv"
12
+
13
+ # Setup virtual environment
14
+ python -m venv .venv
15
+ source .venv/bin/activate
16
+
17
+ # Install dependencies
18
+ pip install -r requirements.txt
19
+
20
+ # Push to Hugging Face Hub
21
+ huggingface-cli login
22
+ huggingface-cli repo create unesco-translator --type space -y
23
+ git push origin main