Navya-Sree commited on
Commit
e92b857
·
verified ·
1 Parent(s): 2782b41

Update setup.sh

Browse files
Files changed (1) hide show
  1. setup.sh +5 -3
setup.sh CHANGED
@@ -1,5 +1,7 @@
1
  #!/bin/bash
2
 
3
- # setup.sh
4
- echo "Setting up environment..."
5
- pip install -r requirements.txt
 
 
 
1
  #!/bin/bash
2
 
3
+ # Install Python dependencies
4
+ pip install -r requirements.txt
5
+
6
+ # Download the model during build (prevents timeout on first request)
7
+ python -c "from transformers import AutoTokenizer, AutoModelForSeq2SeqLM; AutoTokenizer.from_pretrained('tscholak/cxmefzzi'); AutoModelForSeq2SeqLM.from_pretrained('tscholak/cxmefzzi')"